summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-12-25 20:54:44 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-12-25 20:54:44 (GMT)
commit5b3f3dc61bad158050a2953728f87a9a411823e2 (patch)
tree64b7da0b56bbee19e999a23f69d13372807211d5 /src/pre.l
parentb2ff175fbaa113d17cc8c0873220580df1887b97 (diff)
downloadDoxygen-5b3f3dc61bad158050a2953728f87a9a411823e2.zip
Doxygen-5b3f3dc61bad158050a2953728f87a9a411823e2.tar.gz
Doxygen-5b3f3dc61bad158050a2953728f87a9a411823e2.tar.bz2
Release-1.5.7.1-20081225
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pre.l b/src/pre.l
index 7d5565b..f946fc4 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -2005,7 +2005,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
<SkipCComment,SkipVerbatim>. {
outputChar(*yytext);
}
-<CopyCComment>[^*a-z_A-Z]+ {
+<CopyCComment>[^*a-z_A-Z\n]+ {
g_defLitText+=yytext;
g_defText+=escapeAt(yytext);
}
@@ -2017,7 +2017,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
<CopyCComment>\n {
g_yyLineNr++;
g_defLitText+=yytext;
- g_defText+=yytext;
+ g_defText+=' ';
}
<RemoveCComment>"*/" { BEGIN(g_lastCContext); }
<RemoveCComment>"//"