Commit 45ec4ce8 authored by Pavel Tvrdik's avatar Pavel Tvrdik

Lexer: Add a quotation mark back while parsing quotes

Thanks to Ondrej Zajicek for code.
parent 5e3cd0e5
......@@ -203,6 +203,7 @@ else: {
["][^"\n]*["] {
yytext[yyleng-1] = 0;
cf_lval.t = cfg_strdup(yytext+1);
yytext[yyleng-1] = '"';
return TEXT;
}
......
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