diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-06-15 11:11:10 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-06-15 11:11:10 (GMT) |
commit | 1cbd7d2faa8d543f521b144a8120c3a1ba2f832f (patch) | |
tree | b47b3252c432a415bf772add061e451f5782d6c7 /src/commentcnv.l | |
parent | 6d2875bda7b5416f2e8c72ec8677b7164de86187 (diff) | |
download | Doxygen-1cbd7d2faa8d543f521b144a8120c3a1ba2f832f.zip Doxygen-1cbd7d2faa8d543f521b144a8120c3a1ba2f832f.tar.gz Doxygen-1cbd7d2faa8d543f521b144a8120c3a1ba2f832f.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; |