summaryrefslogtreecommitdiffstats
path: root/package/config/zconf.y
diff options
context:
space:
mode:
Diffstat (limited to 'package/config/zconf.y')
-rw-r--r--package/config/zconf.y11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/config/zconf.y b/package/config/zconf.y
index ca435c5f9..34c907b49 100644
--- a/package/config/zconf.y
+++ b/package/config/zconf.y
@@ -64,7 +64,6 @@ static struct menu *current_menu, *current_entry;
%token <id>T_IF
%token <id>T_ENDIF
%token <id>T_DEPENDS
-%token <id>T_REQUIRES
%token <id>T_OPTIONAL
%token <id>T_PROMPT
%token <id>T_TYPE
@@ -418,16 +417,6 @@ depends: T_DEPENDS T_ON expr T_EOL
{
menu_add_dep($3);
printd(DEBUG_PARSE, "%s:%d:depends on\n", zconf_curname(), zconf_lineno());
-}
- | T_DEPENDS expr T_EOL
-{
- menu_add_dep($2);
- printd(DEBUG_PARSE, "%s:%d:depends\n", zconf_curname(), zconf_lineno());
-}
- | T_REQUIRES expr T_EOL
-{
- menu_add_dep($2);
- printd(DEBUG_PARSE, "%s:%d:requires\n", zconf_curname(), zconf_lineno());
};
/* prompt statement */