FrT;@1|>>0|$15|HeaderDoc::Test%22|$4|CODE$7|COMMENT$7|CPPCODE$15|EXPECTED_RESULT$23|EXPECTED_RESULT_ALLDECS$7|FAILMSG$8|FILENAME$4|LANG$4|NAME$7|SUBLANG$4|TYPE$66|/*! @class pseudoclass */ typedef struct { GUTS; } pseudoclass; $0|$56|#define GUTS \ int bar; \ /*! @var foo */ \ int foo; $3854|-=: CPP MACROS PARSED :=- PARSED: GUTS -=: BLOCKPARSE PARSER STATE KEYS :=- $parserState->{ASLBRACEPRECURSOR} => $parserState->{ASLBRACEPRECURSORTAG} => $parserState->{FULLPATH} => /test_suite_bogus_path/headerdoc_markup_in_define.test $parserState->{NEXTTOKENNOCPP} => 0 $parserState->{afterNL} => 2 $parserState->{availability} => $parserState->{backslashcount} => 0 $parserState->{basetype} => struct $parserState->{bracePending} => 0 $parserState->{callbackIsTypedef} => 1 $parserState->{callbackName} => $parserState->{callbackNamePending} => -1 $parserState->{categoryClass} => $parserState->{classtype} => $parserState->{freezeStack} => ARRAY(OBJID) $parserState->{freezereturn} => 1 $parserState->{frozensodname} => $parserState->{functionReturnsCallback} => 0 $parserState->{hollow} => HeaderDoc::ParseTree=HASH(OBJID) $parserState->{inBrackets} => 0 $parserState->{inChar} => 0 $parserState->{inClass} => 0 $parserState->{inComment} => 0 $parserState->{inEnum} => 0 $parserState->{inInlineComment} => 0 $parserState->{inMacro} => 0 $parserState->{inMacroLine} => 0 $parserState->{inOperator} => 0 $parserState->{inPrivateParamTypes} => 0 $parserState->{inString} => 0 $parserState->{inTemplate} => 0 $parserState->{inTypedef} => 1 $parserState->{inUnion} => 0 $parserState->{initbsCount} => 0 $parserState->{inputCounter} => 4 $parserState->{kr_c_function} => 0 $parserState->{kr_c_name} => $parserState->{lang} => C $parserState->{lastTreeNode} => HeaderDoc::ParseTree=HASH(OBJID) $parserState->{lastsymbol} => pseudoclass; $parserState->{leavingComment} => 0 $parserState->{macroNoTrunc} => 1 $parserState->{name} => $parserState->{namePending} => 0 $parserState->{noInsert} => 0 $parserState->{occmethod} => 0 $parserState->{occmethodname} => $parserState->{onlyComments} => 0 $parserState->{parsedParamAtBrace} => ARRAY(OBJID) $parserState->{parsedParamList} => ARRAY(OBJID) $parserState->{parsedParamParse} => 1 $parserState->{parsedParamStateAtBrace} => ARRAY(OBJID) $parserState->{posstypes} => typedef struct $parserState->{posstypesPending} => 0 $parserState->{pplStack} => ARRAY(OBJID) $parserState->{preEqualsSymbol} => $parserState->{preTemplateSymbol} => $parserState->{returntype} => /*! @class pseudoclass */ typedef struct { int $parserState->{seenBraces} => 0 $parserState->{seenMacroPart} => 0 $parserState->{seenTilde} => 0 $parserState->{simpleTDcontents} => $parserState->{simpleTypedef} => 0 $parserState->{sodclass} => $parserState->{sodname} => $parserState->{sodtype} => $parserState->{stackFrozen} => 0 $parserState->{startOfDec} => 1 $parserState->{sublang} => C $parserState->{temponlyComments} => 0 $parserState->{treePopTwo} => 0 $parserState->{typestring} => typedef $parserState->{value} => $parserState->{valuepending} => 0 -=: BLOCKPARSE RETURN VALUES :=- newcount: 4 typelist: typedef namelist: pseudoclass posstypes: typedef struct value: returntype: typedef struct { int pridec: simpleTDcontents: bpavail: blockOffset: 1 conformsToList: functionContents: extendsClass: implementsClass: -=: LIST OF PARSED PARAMETERS :=- Parsed Param 0 => int bar Parsed Param 1 => int foo -=: DUMP OF PARSE TREE :=- +---/* | +---! | +--- @class pseudoclass | +---*/ +---[ NEWLINE ] +---typedef +--- +---struct +--- +---{ | +---[ NEWLINE ] | +--- | +---[ NEWLINE ] | +--- | +---int | +--- | +---bar | +---; | +--- | +---[ NEWLINE ] | +---/* | | +---! | | +--- @var foo | | +---*/ | +--- | +---[ NEWLINE ] | +--- | +---int | +--- | +---foo | +---; | +---; | +---[ NEWLINE ] | +---} +--- +---pseudoclass +---; +--- +---[ NEWLINE ] -=: COMPUTED VALUE :=- SUCCESS: 0 VALUE: 0 -=: CPP CHANGES :=- $CPP_HASH{GUTS} => int bar; /*! @var foo */ int foo; $3854|-=: CPP MACROS PARSED :=- PARSED: GUTS -=: BLOCKPARSE PARSER STATE KEYS :=- $parserState->{ASLBRACEPRECURSOR} => $parserState->{ASLBRACEPRECURSORTAG} => $parserState->{FULLPATH} => /test_suite_bogus_path/headerdoc_markup_in_define.test $parserState->{NEXTTOKENNOCPP} => 0 $parserState->{afterNL} => 2 $parserState->{availability} => $parserState->{backslashcount} => 0 $parserState->{basetype} => struct $parserState->{bracePending} => 0 $parserState->{callbackIsTypedef} => 1 $parserState->{callbackName} => $parserState->{callbackNamePending} => -1 $parserState->{categoryClass} => $parserState->{classtype} => $parserState->{freezeStack} => ARRAY(OBJID) $parserState->{freezereturn} => 1 $parserState->{frozensodname} => $parserState->{functionReturnsCallback} => 0 $parserState->{hollow} => HeaderDoc::ParseTree=HASH(OBJID) $parserState->{inBrackets} => 0 $parserState->{inChar} => 0 $parserState->{inClass} => 0 $parserState->{inComment} => 0 $parserState->{inEnum} => 0 $parserState->{inInlineComment} => 0 $parserState->{inMacro} => 0 $parserState->{inMacroLine} => 0 $parserState->{inOperator} => 0 $parserState->{inPrivateParamTypes} => 0 $parserState->{inString} => 0 $parserState->{inTemplate} => 0 $parserState->{inTypedef} => 1 $parserState->{inUnion} => 0 $parserState->{initbsCount} => 0 $parserState->{inputCounter} => 4 $parserState->{kr_c_function} => 0 $parserState->{kr_c_name} => $parserState->{lang} => C $parserState->{lastTreeNode} => HeaderDoc::ParseTree=HASH(OBJID) $parserState->{lastsymbol} => pseudoclass; $parserState->{leavingComment} => 0 $parserState->{macroNoTrunc} => 1 $parserState->{name} => $parserState->{namePending} => 0 $parserState->{noInsert} => 0 $parserState->{occmethod} => 0 $parserState->{occmethodname} => $parserState->{onlyComments} => 0 $parserState->{parsedParamAtBrace} => ARRAY(OBJID) $parserState->{parsedParamList} => ARRAY(OBJID) $parserState->{parsedParamParse} => 1 $parserState->{parsedParamStateAtBrace} => ARRAY(OBJID) $parserState->{posstypes} => typedef struct $parserState->{posstypesPending} => 0 $parserState->{pplStack} => ARRAY(OBJID) $parserState->{preEqualsSymbol} => $parserState->{preTemplateSymbol} => $parserState->{returntype} => /*! @class pseudoclass */ typedef struct { int $parserState->{seenBraces} => 0 $parserState->{seenMacroPart} => 0 $parserState->{seenTilde} => 0 $parserState->{simpleTDcontents} => $parserState->{simpleTypedef} => 0 $parserState->{sodclass} => $parserState->{sodname} => $parserState->{sodtype} => $parserState->{stackFrozen} => 0 $parserState->{startOfDec} => 1 $parserState->{sublang} => C $parserState->{temponlyComments} => 0 $parserState->{treePopTwo} => 0 $parserState->{typestring} => typedef $parserState->{value} => $parserState->{valuepending} => 0 -=: BLOCKPARSE RETURN VALUES :=- newcount: 4 typelist: typedef namelist: pseudoclass posstypes: typedef struct value: returntype: typedef struct { int pridec: simpleTDcontents: bpavail: blockOffset: 1 conformsToList: functionContents: extendsClass: implementsClass: -=: LIST OF PARSED PARAMETERS :=- Parsed Param 0 => int bar Parsed Param 1 => int foo -=: DUMP OF PARSE TREE :=- +---/* | +---! | +--- @class pseudoclass | +---*/ +---[ NEWLINE ] +---typedef +--- +---struct +--- +---{ | +---[ NEWLINE ] | +--- | +---[ NEWLINE ] | +--- | +---int | +--- | +---bar | +---; | +--- | +---[ NEWLINE ] | +---/* | | +---! | | +--- @var foo | | +---*/ | +--- | +---[ NEWLINE ] | +--- | +---int | +--- | +---foo | +---; | +---; | +---[ NEWLINE ] | +---} +--- +---pseudoclass +---; +--- +---[ NEWLINE ] -=: COMPUTED VALUE :=- SUCCESS: 0 VALUE: 0 -=: CPP CHANGES :=- $CPP_HASH{GUTS} => int bar; /*! @var foo */ int foo; _$116|/Users/dg/headerdoc-techpubs/Modules/HeaderDoc//../../testsuite/c_preprocessor_tests/headerdoc_markup_in_define.test$1|C$26|headerdoc markup in define$1|C$3|cpp