diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-04-21 17:27:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-04-21 17:27:45 (GMT) |
commit | 210582f8060fb41f6ad34d8315c9dd27b1bb6834 (patch) | |
tree | 4859bfed167f695f5ce9e9c0f2f6f02313de2ed3 /src/scanner.l | |
parent | 481a46c5ec227eaf82bfef99b742b793a727b8ec (diff) | |
download | Doxygen-210582f8060fb41f6ad34d8315c9dd27b1bb6834.zip Doxygen-210582f8060fb41f6ad34d8315c9dd27b1bb6834.tar.gz Doxygen-210582f8060fb41f6ad34d8315c9dd27b1bb6834.tar.bz2 |
Release-1.2.15-20020421
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index be548f3..27c94ec 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -868,6 +868,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) lineCount(); BEGIN( CompoundName ); } +<FindMembers>{B}*(("typedef"{BN}+)?)("volatile"{BN}+)?"class{" | <FindMembers>{B}*(("typedef"{BN}+)?)("volatile"{BN}+)?"class"{BN}+ { isTypedef=((QCString)yytext).find("typedef")!=-1; current->section = Entry::CLASS_SEC; @@ -886,6 +887,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) // current->mtArgList = 0; //} lineCount() ; + if (yytext[yyleng-1]=='{') unput('{'); BEGIN( CompoundName ) ; } <FindMembers>{B}*(("typedef"{BN}+)?)("volatile"{BN}+)?"struct{" | @@ -907,6 +909,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) // current->mtArgList = 0; //} lineCount() ; + if (yytext[yyleng-1]=='{') unput('{'); BEGIN( CompoundName ) ; } <FindMembers>{B}*(("typedef"{BN}+)?)("volatile"{BN}+)?"union{" | @@ -919,6 +922,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) current->startLine = yyLineNr; current->bodyLine = yyLineNr; lineCount() ; + if (yytext[yyleng-1]=='{') unput('{'); BEGIN( CompoundName ) ; } <FindMembers>{B}*(("typedef"{BN}+)?)"enum{" | @@ -931,6 +935,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) current->startLine = yyLineNr; current->bodyLine = yyLineNr; lineCount() ; + if (yytext[yyleng-1]=='{') unput('{'); BEGIN( CompoundName ) ; } <Operator>"("{BN}*")"{BN}*/"(" { @@ -3622,6 +3627,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) insideFormula=FALSE; BEGIN(lastFormulaContext); } +<ReadFormulaLong>\n { formulaText+=*yytext; } <ReadFormulaLong,ReadFormulaShort>. { formulaText+=*yytext; } <ExampleDoc,PageDoc,ClassDocBrief,ClassDoc,ReadFormulaShort,ReadFormulaLong>{B}*"*/" { checkDocs(); |