X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=config%2Fzconf.y;fp=config%2Fzconf.y;h=0f4368aa24cf5f2ad4b8de714b9bae3d31cdcc86;hp=95da8126d7047f28e77224da33f15b66a8bfcbfe;hb=42a70d0791b5a6376a287291c66309b3f098165a;hpb=0686dfbe6dfca52902ba59e92bd077df897cd451 diff --git a/config/zconf.y b/config/zconf.y index 95da812..0f4368a 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -379,7 +379,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 +413,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);