1
0
Fork 0

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>
hifive-unleashed-5.1
Masahiro Yamada 2018-12-11 20:00:55 +09:00
parent 4891796c6f
commit 94d4e1b602
1 changed files with 1 additions and 8 deletions

View File

@ -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