struct kconf_id *id = kconf_id_lookup(yytext, yyleng);
if (id && id->flags & TF_COMMAND) {
BEGIN(PARAM);
+ zconflval.id = id;
return id->token;
}
alloc_string(yytext, yyleng);
--- /* ignore */
({n}|[-/.])+ {
struct kconf_id *id = kconf_id_lookup(yytext, yyleng);
- if (id && id->flags & TF_PARAM)
+ if (id && id->flags & TF_PARAM) {
+ zconflval.id = id;
return id->token;
+ }
alloc_string(yytext, yyleng);
zconflval.string = text;
return T_WORD;