Commit 4b5ec81b authored by Masahiro Yamada's avatar Masahiro Yamada

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 1f31be9e
...@@ -379,7 +379,12 @@ comment: T_COMMENT prompt T_EOL ...@@ -379,7 +379,12 @@ comment: T_COMMENT prompt T_EOL
printd(DEBUG_PARSE, "%s:%d:comment\n", zconf_curname(), zconf_lineno()); 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 */ /* help option */
...@@ -408,11 +413,6 @@ help: help_start T_HELPTEXT ...@@ -408,11 +413,6 @@ help: help_start T_HELPTEXT
/* depends option */ /* depends option */
depends_list:
/* empty */
| depends_list depends
;
depends: T_DEPENDS T_ON expr T_EOL depends: T_DEPENDS T_ON expr T_EOL
{ {
menu_add_dep($3); menu_add_dep($3);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment