diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2012-02-25 15:18:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2012-02-25 15:18:56 (GMT) |
commit | cff8111ed33af6033bd188868964d92ea3503188 (patch) | |
tree | 2a7451abfd771d43ea2b3ac2443d94c3eb5cfee7 /src/pre.l | |
parent | 34d4ace6d4037862b6d280f1d7534292c714bf59 (diff) | |
download | Doxygen-cff8111ed33af6033bd188868964d92ea3503188.zip Doxygen-cff8111ed33af6033bd188868964d92ea3503188.tar.gz Doxygen-cff8111ed33af6033bd188868964d92ea3503188.tar.bz2 |
Release-1.8.0
Diffstat (limited to 'src/pre.l')
-rw-r--r-- | src/pre.l | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2206,11 +2206,15 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'")) BEGIN(SkipString); } <SkipLine>. -<SkipLine,SkipCommand,SkipCPPBlock,SkipString>"//"[^\n]* { +<SkipString>"//"/[^\n]* { + } +<SkipLine,SkipCommand,SkipCPPBlock>"//"[^\n]* { g_lastCPPContext=YY_START; BEGIN(RemoveCPPComment); } -<SkipLine,SkipCommand,SkipCPPBlock,SkipString>"/*"/[^\n]* { +<SkipString>"/*"/[^\n]* { + } +<SkipLine,SkipCommand,SkipCPPBlock>"/*"/[^\n]* { g_lastCContext=YY_START; BEGIN(RemoveCComment); } |