starter: Merge quoted strings that span multiple lines
This commit is contained in:
1 parent
2ed5f5693d
commit
79ebdc0788
1 file changed
+2
-3
@@ -152,9 +152,8 @@ static void include_files(parser_helper_t *ctx);
|
||||
\\t yyextra->string_add(yyextra, "\t");
|
||||
\\b yyextra->string_add(yyextra, "\b");
|
||||
\\f yyextra->string_add(yyextra, "\f");
|
||||
\\(.|\n) {
|
||||
yyextra->string_add(yyextra, yytext+1);
|
||||
}
|
||||
\\\r?\n /* merge lines that end with EOL characters */
|
||||
\\. yyextra->string_add(yyextra, yytext+1);
|
||||
[^\\\n"]+ {
|
||||
yyextra->string_add(yyextra, yytext);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user