projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: use T_WORD instead of T_VARIABLE for variables
[carl9170fw.git]
/
config
/
zconf.y
diff --git
a/config/zconf.y
b/config/zconf.y
index 653ef2c7c42e24e34e08829ab2e679f210c5db43..ac5935c84b48a7699e2d69799d52f651718fec0f 100644
(file)
--- a/
config/zconf.y
+++ b/
config/zconf.y
@@
-84,7
+84,6
@@
static struct menu *current_menu, *current_entry;
%token T_STRING
%token T_TRISTATE
%token T_EOL
%token T_STRING
%token T_TRISTATE
%token T_EOL
-%token <string> T_VARIABLE
%token <string> T_ASSIGN_VAL
%left T_OR
%token <string> T_ASSIGN_VAL
%left T_OR
@@
-480,7
+479,7
@@
word_opt: /* empty */ { $$ = NULL; }
/* assignment statement */
/* assignment statement */
-assignment_stmt: T_
VARIABLE assign_op assign_val T_EOL
{ variable_add($1, $3, $2); free($1); free($3); }
+assignment_stmt: T_
WORD assign_op assign_val T_EOL
{ variable_add($1, $3, $2); free($1); free($3); }
assign_op:
T_EQUAL { $$ = VAR_RECURSIVE; }
assign_op:
T_EQUAL { $$ = VAR_RECURSIVE; }