diff options
-rw-r--r-- | src/code.l | 2 | ||||
-rw-r--r-- | src/scanner.l | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2602,7 +2602,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" BEGIN( g_lastStringContext ); } } -<RawString>[^)]+ { g_code->codify(yytext); } +<RawString>[^)\n]+ { g_code->codify(yytext); } <RawString>. { g_code->codify(yytext); } <RawString>\n { codifyLines(yytext); } <SkipVerbString>[^"\n]+ { diff --git a/src/scanner.l b/src/scanner.l index 50b3e8a..bbe90a3 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -2902,7 +2902,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) BEGIN(lastRawStringContext); } } -<RawGString>[^)]+ { +<RawGString>[^)\n]+ { *pCopyRawGString+=yytext; } <RawGString>. { |