From 4bdd3331003decd94dda79827328e5976c1314b1 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 11 Dec 2018 20:00:55 +0900 Subject: [PATCH] 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 --- config/zconf.y | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 -- 2.31.1