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]*["] {
|
||||
yytext[yyleng-1] = 0;
|
||||
cf_lval.t = cfg_strdup(yytext+1);
|
||||
yytext[yyleng-1] = '"';
|
||||
return TEXT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue