diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-11 06:00:55 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-15 03:45:21 -0500 |
commit | 94d4e1b6021b8d63274c9961c70f95dd2b43e6fb (patch) | |
tree | f47c21b925044f887706ab75c5ec60cffed905fe /scripts/kconfig | |
parent | 4891796c6f83bb3be5567b3053428a40329d7e37 (diff) |
kconfig: remove redundant menu_block rule
The code block surrounded by "menu" ... "endmenu" is stmt_list.
Remove the redundant menu_block symbol entirely.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/zconf.y | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index dcbf6439ace9..eeb449bd5869 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y | |||
@@ -354,14 +354,7 @@ menu_end: end | |||
354 | } | 354 | } |
355 | }; | 355 | }; |
356 | 356 | ||
357 | menu_stmt: menu_entry menu_block menu_end | 357 | menu_stmt: menu_entry stmt_list menu_end |
358 | ; | ||
359 | |||
360 | menu_block: | ||
361 | /* empty */ | ||
362 | | menu_block common_stmt | ||
363 | | menu_block menu_stmt | ||
364 | | menu_block choice_stmt | ||
365 | ; | 358 | ; |
366 | 359 | ||
367 | source_stmt: T_SOURCE prompt T_EOL | 360 | source_stmt: T_SOURCE prompt T_EOL |