summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/lex.zconf.c_shipped
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/lex.zconf.c_shipped')
-rw-r--r--scripts/kconfig/lex.zconf.c_shipped5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/kconfig/lex.zconf.c_shipped b/scripts/kconfig/lex.zconf.c_shipped
index 0168141..bedba89 100644
--- a/scripts/kconfig/lex.zconf.c_shipped
+++ b/scripts/kconfig/lex.zconf.c_shipped
@@ -1025,6 +1025,7 @@ YY_RULE_SETUP
struct kconf_id *id = kconf_id_lookup(zconftext, zconfleng);
if (id && id->flags & TF_COMMAND) {
BEGIN(PARAM);
+ zconflval.id = id;
return id->token;
}
alloc_string(zconftext, zconfleng);
@@ -1091,8 +1092,10 @@ case 19:
YY_RULE_SETUP
{
struct kconf_id *id = kconf_id_lookup(zconftext, zconfleng);
- if (id && id->flags & TF_PARAM)
+ if (id && id->flags & TF_PARAM) {
+ zconflval.id = id;
return id->token;
+ }
alloc_string(zconftext, zconfleng);
zconflval.string = text;
return T_WORD;
OpenPOWER on IntegriCloud