Commit 4eeba431 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 720580 - inline source browser shows wrong code with muilti-line c++11's raw strings

parent f5aa5e7b
......@@ -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]+ {
......
......@@ -2902,7 +2902,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
BEGIN(lastRawStringContext);
}
}
<RawGString>[^)]+ {
<RawGString>[^)\n]+ {
*pCopyRawGString+=yytext;
}
<RawGString>. {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment