Lexer: Add a quotation mark back while parsing quotes
Thanks to Ondrej Zajicek for code.
This commit is contained in:
parent
5e3cd0e5b5
commit
45ec4ce82a
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ else: {
|
||||||
["][^"\n]*["] {
|
["][^"\n]*["] {
|
||||||
yytext[yyleng-1] = 0;
|
yytext[yyleng-1] = 0;
|
||||||
cf_lval.t = cfg_strdup(yytext+1);
|
cf_lval.t = cfg_strdup(yytext+1);
|
||||||
|
yytext[yyleng-1] = '"';
|
||||||
return TEXT;
|
return TEXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue