Skip to content

Commit 4b5ec81

Browse files
committed
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 <yamada.masahiro@socionext.com>
1 parent 1f31be9 commit 4b5ec81

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎scripts/kconfig/zconf.y‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,12 @@ comment: T_COMMENT prompt T_EOL
379379
printd(DEBUG_PARSE, "%s:%d:comment\n", zconf_curname(), zconf_lineno());
380380
};
381381

382-
comment_stmt: comment depends_list
382+
comment_stmt: comment comment_option_list
383+
;
384+
385+
comment_option_list:
386+
/* empty */
387+
| comment_option_list depends
383388
;
384389

385390
/* help option */
@@ -408,11 +413,6 @@ help: help_start T_HELPTEXT
408413

409414
/* depends option */
410415

411-
depends_list:
412-
/* empty */
413-
| depends_list depends
414-
;
415-
416416
depends: T_DEPENDS T_ON expr T_EOL
417417
{
418418
menu_add_dep($3);

0 commit comments

Comments
 (0)