diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-10-06 19:08:54 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-10-06 19:08:54 (GMT) |
commit | eb9911da9adbb91449d7fcad9bbc33a8152e1727 (patch) | |
tree | c1062a06b0267bdf027f00efb00f1fb2b70db5c5 /src/scanner.l | |
parent | 5ed55684b0226c2371f1d39cd7f984da44c9ccb1 (diff) | |
download | Doxygen-eb9911da9adbb91449d7fcad9bbc33a8152e1727.zip Doxygen-eb9911da9adbb91449d7fcad9bbc33a8152e1727.tar.gz Doxygen-eb9911da9adbb91449d7fcad9bbc33a8152e1727.tar.bz2 |
Release-1.2.18-20021006
Diffstat (limited to 'src/scanner.l')
-rw-r--r-- | src/scanner.l | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/scanner.l b/src/scanner.l index 5a5d9c0..59c656c 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2298,6 +2298,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) BEGIN( ReadFuncArgType ); } <CopyArgCommentLine>[^\\\@\n]+ { fullArgString+=yytext; } +<CopyArgCommentLine>. { fullArgString+=*yytext; } <CopyArgComment>\n { fullArgString+=*yytext; yyLineNr++; } <CopyArgComment>. { fullArgString+=*yytext; } <ReadTempArgs>"<" { @@ -3969,6 +3970,8 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) } <ClassDoc,Doc>{B}*{CMD}("brief"|"short") { lastBriefContext=YY_START; + current->briefFile = yyFileName; + current->briefLine = yyLineNr; BEGIN( ClassDocBrief ); } <ClassDoc>{B}*"\\inherit"{B}+ { BEGIN( DocBaseClass ); } @@ -4306,6 +4309,12 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) } } } +<Doc,ClassDoc,PageDoc,ExampleDoc,AfterDoc,CopyArgComment>{CMD}{CMD}[a-z_A-Z][a-z_A-Z0-9]* { /* escaped command */ + if (YY_START==CopyArgComment) + fullArgString+=yytext; + else + current->doc+=yytext; + } <Doc,ClassDoc,PageDoc,ExampleDoc,AfterDoc,CopyArgComment>{CMD}[a-z_A-Z][a-z_A-Z0-9]* { bool handled=FALSE; if ( useOverrideCommands) @@ -4370,6 +4379,12 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) current->brief+=yytext; } <LineDoc,AfterDocLine,CopyArgCommentLine>{CMD}("brief"|"short") {} +<JavaDoc,LineDoc,ClassDocBrief,AfterDocBrief,AfterDocLine,CopyArgCommentLine>{CMD}{CMD}[a-z_A-Z][a-z_A-Z0-9]* { /* escaped command */ + if (YY_START==CopyArgCommentLine) + fullArgString+=yytext; + else + current->brief+=yytext; + } <JavaDoc,LineDoc,ClassDocBrief,AfterDocBrief,AfterDocLine,CopyArgCommentLine>{CMD}[a-z_A-Z][a-z_A-Z0-9]* { QCString *pValue=Doxygen::aliasDict[yytext+1]; if (pValue) |