projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8cd647
)
kconfig: remove redundant menu_block rule
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Tue, 11 Dec 2018 11:00:55 +0000
(20:00 +0900)
committer
Christian Lamparter
<chunkeey@gmail.com>
Sun, 10 Feb 2019 21:32:04 +0000
(22:32 +0100)
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/zconf.y
patch
|
blob
|
history
diff --git
a/config/zconf.y
b/config/zconf.y
index b3564a2c5d09922cd0380f5788f8fa2011a7c307..f72e8994429cd8080042f0135466ef26fd4c23fd 100644
(file)
--- 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