From: Masahiro Yamada Date: Tue, 11 Dec 2018 11:00:55 +0000 (+0900) Subject: kconfig: remove redundant menu_block rule X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=4bdd3331003decd94dda79827328e5976c1314b1 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 Signed-off-by: Christian Lamparter --- diff --git a/config/zconf.y b/config/zconf.y index b3564a2..f72e899 100644 --- a/config/zconf.y +++ b/config/zconf.y @@ -354,14 +354,7 @@ menu_end: end } }; -menu_stmt: menu_entry menu_block menu_end -; - -menu_block: - /* empty */ - | menu_block common_stmt - | menu_block menu_stmt - | menu_block choice_stmt +menu_stmt: menu_entry stmt_list menu_end ; source_stmt: T_SOURCE prompt T_EOL