diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-12-25 20:54:44 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-12-25 20:54:44 (GMT) |
commit | 5b3f3dc61bad158050a2953728f87a9a411823e2 (patch) | |
tree | 64b7da0b56bbee19e999a23f69d13372807211d5 /src/pre.l | |
parent | b2ff175fbaa113d17cc8c0873220580df1887b97 (diff) | |
download | Doxygen-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.l | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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>"//" |