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
1 changed files with 1 additions and 1 deletions
|
@ -144,8 +144,8 @@ WHITE [ \t]
|
|||
}
|
||||
|
||||
["][^"\n]*["] {
|
||||
cf_lval.t = yytext+1;
|
||||
yytext[yyleng-1] = 0;
|
||||
cf_lval.t = cfg_strdup(yytext+1);
|
||||
return TEXT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue