kconfig: support simply expanded variable
[carl9170fw.git] / config / zconf.l
index f1add9536c029ec77b01361dc8c4ac92265cd02b..d0f5b132a9b39802680a3f07343d0c36bf83e4ee 100644 (file)
@@ -114,7 +114,8 @@ n   [A-Za-z0-9_-]
                yylval.string = text;
                return T_VARIABLE;
        }
-       "="     { BEGIN(ASSIGN_VAL); return T_ASSIGN; }
+       "="     { BEGIN(ASSIGN_VAL); yylval.flavor = VAR_RECURSIVE; return T_ASSIGN; }
+       ":="    { BEGIN(ASSIGN_VAL); yylval.flavor = VAR_SIMPLE; return T_ASSIGN; }
        [[:blank:]]+
        .       warn_ignored_character(*yytext);
        \n      {