diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-02 14:53:49 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-02 14:53:49 (GMT) |
commit | 3fe10a7eba7d55d2e542f3cd354d5a52701249ef (patch) | |
tree | 9055f717195272dffb58b0fd075ae25d94b40e03 | |
parent | 0a9027e84737abb3ed8afe21872903c06bc88f60 (diff) | |
download | Doxygen-3fe10a7eba7d55d2e542f3cd354d5a52701249ef.zip Doxygen-3fe10a7eba7d55d2e542f3cd354d5a52701249ef.tar.gz Doxygen-3fe10a7eba7d55d2e542f3cd354d5a52701249ef.tar.bz2 |
Changed implementation to use SkipString/SkipStringS.
-rw-r--r-- | src/code.l | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -2353,12 +2353,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" g_code->codify(yytext); g_insideProtocolList=FALSE; } -<SkipSharp>"\""((\\0[Xx0-9]+)|(\\.)|(.))*"\"" { - g_code->codify(yytext); - } -<SkipSharp>"'"((\\0[Xx0-9]+)|(\\.)|(.))"'" { - g_code->codify(yytext); - } <SkipSharp>"<" { g_code->codify(yytext); ++g_sharpCount; @@ -2368,6 +2362,16 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" if (--g_sharpCount<=0) BEGIN ( Bases ); } +<SkipSharp>"\"" { + g_code->codify(yytext); + g_lastStringContext=YY_START; + BEGIN(SkipString); + } +<SkipSharp>"\'" { + g_code->codify(yytext); + g_lastStringContext=YY_START; + BEGIN(SkipStringS); + } <Bases>"(" { g_code->codify(yytext); g_sharpCount=1; |