X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fzconf.y;h=1dac176e24fd90a31d95d3c0f442393c84cadd2a;hb=ee1f23e82cf73c1d2e15421793fb7ec3e38161b2;hp=95da8126d7047f28e77224da33f15b66a8bfcbfe;hpb=0686dfbe6dfca52902ba59e92bd077df897cd451;p=carl9170fw.git diff --git a/config/zconf.y b/config/zconf.y index 95da812..1dac176 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -69,11 +69,6 @@ static struct menu *current_menu, *current_entry; %token T_ON %token T_WORD %token T_WORD_QUOTE -%token T_UNEQUAL -%token T_LESS -%token T_LESS_EQUAL -%token T_GREATER -%token T_GREATER_EQUAL %token T_CLOSE_PAREN %token T_OPEN_PAREN %token T_EOL @@ -379,7 +374,12 @@ comment: T_COMMENT prompt T_EOL printd(DEBUG_PARSE, "%s:%d:comment\n", zconf_curname(), zconf_lineno()); }; -comment_stmt: comment depends_list +comment_stmt: comment comment_option_list +; + +comment_option_list: + /* empty */ + | comment_option_list depends ; /* help option */ @@ -408,11 +408,6 @@ help: help_start T_HELPTEXT /* depends option */ -depends_list: - /* empty */ - | depends_list depends -; - depends: T_DEPENDS T_ON expr T_EOL { menu_add_dep($3);