From: Masahiro Yamada Date: Tue, 11 Dec 2018 11:00:55 +0000 (+0900) Subject: kconfig: remove redundant menu_block rule X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=94d4e1b6021b8d63274c9961c70f95dd2b43e6fb;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 } }; -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