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:
Martin Mares 2000-01-16 23:36:53 +00:00
parent 99278e1042
commit ca0edc5395

View file

@ -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;
}