diff options
Diffstat (limited to 'scripts/kconfig/zconf.y')
-rw-r--r-- | scripts/kconfig/zconf.y | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index 79db4cf22a51..d9b96ba8e38c 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y | |||
@@ -64,7 +64,6 @@ static struct menu *current_menu, *current_entry; | |||
64 | %token <id>T_IF | 64 | %token <id>T_IF |
65 | %token <id>T_ENDIF | 65 | %token <id>T_ENDIF |
66 | %token <id>T_DEPENDS | 66 | %token <id>T_DEPENDS |
67 | %token <id>T_REQUIRES | ||
68 | %token <id>T_OPTIONAL | 67 | %token <id>T_OPTIONAL |
69 | %token <id>T_PROMPT | 68 | %token <id>T_PROMPT |
70 | %token <id>T_TYPE | 69 | %token <id>T_TYPE |
@@ -418,16 +417,6 @@ depends: T_DEPENDS T_ON expr T_EOL | |||
418 | { | 417 | { |
419 | menu_add_dep($3); | 418 | menu_add_dep($3); |
420 | printd(DEBUG_PARSE, "%s:%d:depends on\n", zconf_curname(), zconf_lineno()); | 419 | printd(DEBUG_PARSE, "%s:%d:depends on\n", zconf_curname(), zconf_lineno()); |
421 | } | ||
422 | | T_DEPENDS expr T_EOL | ||
423 | { | ||
424 | menu_add_dep($2); | ||
425 | printd(DEBUG_PARSE, "%s:%d:depends\n", zconf_curname(), zconf_lineno()); | ||
426 | } | ||
427 | | T_REQUIRES expr T_EOL | ||
428 | { | ||
429 | menu_add_dep($2); | ||
430 | printd(DEBUG_PARSE, "%s:%d:requires\n", zconf_curname(), zconf_lineno()); | ||
431 | }; | 420 | }; |
432 | 421 | ||
433 | /* prompt statement */ | 422 | /* prompt statement */ |