diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-18 21:34:02 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-02-18 21:34:02 (GMT) |
commit | 9793ce49f1d7641854ef0608b34c1dd2d4891a20 (patch) | |
tree | 714079396631ac6488c45cce3d6acfb51e31f9a8 /src/scanner.l | |
parent | b698431e32befbc1d4e2196dc96b0507ed8ab15a (diff) | |
download | Doxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.zip Doxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.tar.gz Doxygen-9793ce49f1d7641854ef0608b34c1dd2d4891a20.tar.bz2 |
Release-1.2.14
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l index b644c96..e3ca3da 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2090,6 +2090,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) BEGIN( CopyArgComment ); } } +<CopyArgComment>^{B}*"*"+/{BN}+ <CopyArgComment>[^\n\*]+ { fullArgString+=yytext; } <CopyArgComment>"*/" { fullArgString+=yytext; if (lastCopyArgChar!=0) @@ -3445,7 +3446,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) <SkipCode>"//" { *pSkipDoc+=yytext; } -<SkipCode>"/*" { +<SkipCode>"/*"|"*/" { *pSkipDoc+=yytext; } <SkipCode>[^ \<\*\t\/\\\n]+ { @@ -3571,7 +3572,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) BEGIN(lastFormulaContext); } <ReadFormulaLong,ReadFormulaShort>. { formulaText+=*yytext; } -<ExampleDoc,PageDoc,ClassDocBrief,SkipCode,ClassDoc,ReadFormulaShort,ReadFormulaLong>{B}*"*/" { +<ExampleDoc,PageDoc,ClassDocBrief,ClassDoc,ReadFormulaShort,ReadFormulaLong>{B}*"*/" { checkDocs(); //printf("current->section=%x\n",current->section); if (YY_START==SkipCode) // premature end of code block |