From: Masahiro Yamada Date: Tue, 11 Dec 2018 11:00:57 +0000 (+0900) Subject: kconfig: rename depends_list to comment_option_list X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=42a70d0791b5a6376a287291c66309b3f098165a kconfig: rename depends_list to comment_option_list Now the comment_stmt is the only user of depends_list. Rename it to comment_option_list Signed-off-by: Masahiro Yamada Signed-off-by: Christian Lamparter --- 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);