kconfig: use T_WORD instead of T_VARIABLE for variables
[carl9170fw.git] / config / zconf.l
index 418ade946405a8dbf01b3c2154edbeeda9f360a7..eec4a5a97639d509104da10d367e95fa9039eadd 100644 (file)
@@ -109,13 +109,13 @@ n [A-Za-z0-9_-]
                }
                alloc_string(yytext, yyleng);
                yylval.string = text;
-               return T_VARIABLE;
+               return T_WORD;
        }
        ({n}|$)+        {
                /* this token includes at least one '$' */
                yylval.string = expand_token(yytext, yyleng);
                if (strlen(yylval.string))
-                       return T_VARIABLE;
+                       return T_WORD;
                free(yylval.string);
        }
        "="     { BEGIN(ASSIGN_VAL); return T_EQUAL; }