mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Lexer: Add a quotation mark back while parsing quotes
Thanks to Ondrej Zajicek for code.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user