mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
When a quoted string is encountered, don't forget to copy it to the
config pool before passing it to the parser.
This commit is contained in:
parent
99278e1042
commit
ca0edc5395
@ -144,8 +144,8 @@ WHITE [ \t]
|
|||||||
}
|
}
|
||||||
|
|
||||||
["][^"\n]*["] {
|
["][^"\n]*["] {
|
||||||
cf_lval.t = yytext+1;
|
|
||||||
yytext[yyleng-1] = 0;
|
yytext[yyleng-1] = 0;
|
||||||
|
cf_lval.t = cfg_strdup(yytext+1);
|
||||||
return TEXT;
|
return TEXT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user