summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-06-15 11:11:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-06-15 11:11:10 (GMT)
commit0c6ee149829948582e5e5c1b96c8b3105b02672a (patch)
treeb47b3252c432a415bf772add061e451f5782d6c7 /src/commentcnv.l
parenta1528245b280f1068daad8cd850ea345a3f8b568 (diff)
downloadDoxygen-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.l4
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;