diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-06-15 11:11:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-06-15 11:11:10 (GMT) |
commit | 0c6ee149829948582e5e5c1b96c8b3105b02672a (patch) | |
tree | b47b3252c432a415bf772add061e451f5782d6c7 /src/commentcnv.l | |
parent | a1528245b280f1068daad8cd850ea345a3f8b568 (diff) | |
download | Doxygen-0c6ee149829948582e5e5c1b96c8b3105b02672a.zip Doxygen-0c6ee149829948582e5e5c1b96c8b3105b02672a.tar.gz Doxygen-0c6ee149829948582e5e5c1b96c8b3105b02672a.tar.bz2 |
Release-1.7.0
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r-- | src/commentcnv.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l index e508221..ab56812 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -322,7 +322,7 @@ void replaceComment(int offset); int i=3; if (yytext[2]=='/') { - while (i<yyleng && yytext[i]=='/') i++; + while (i<(int)yyleng && yytext[i]=='/') i++; } g_blockHeadCol=g_col; copyToOutput("/**",3); @@ -700,6 +700,8 @@ void replaceComment(int offset); g_lastEscaped=0; BEGIN( ReadAliasArgs ); } +<ReadAliasArgs>^[ \t]*"//"[/!]/[^\n]+ { // skip leading special comments (see bug 618079) + } <ReadAliasArgs>[^{}\n\\\*]+ { g_aliasString+=yytext; g_lastEscaped=FALSE; |