kconfig: stop associating kconf_id with yylval
[carl9170fw.git] / config / zconf.l
index 3d8d8619153c966458eaa44dcf9363a0a6448955..1cf9ac42806f09fcfcbc0ca6ab9ba4a55ed9767b 100644 (file)
@@ -104,7 +104,6 @@ n   [A-Za-z0-9_-]
                current_pos.lineno = yylineno;
                if (id && id->flags & TF_COMMAND) {
                        BEGIN(PARAM);
-                       yylval.id = id;
                        return id->token;
                }
                alloc_string(yytext, yyleng);
@@ -163,7 +162,6 @@ n   [A-Za-z0-9_-]
        {n}+    {
                const struct kconf_id *id = kconf_id_lookup(yytext, yyleng);
                if (id && id->flags & TF_PARAM) {
-                       yylval.id = id;
                        return id->token;
                }
                alloc_string(yytext, yyleng);