Commit 413cd19d authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: require T_EOL to reduce visible statement

All line-oriented statements should be reduced when seeing a T_EOL
token. I guess missing T_EOL for the "visible" statement is just a
mistake. This commit decreases one shift/reduce conflict.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent fbac5977
...@@ -31,7 +31,7 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE]; ...@@ -31,7 +31,7 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE];
static struct menu *current_menu, *current_entry; static struct menu *current_menu, *current_entry;
%} %}
%expect 30 %expect 29
%union %union
{ {
...@@ -461,7 +461,7 @@ visibility_list: ...@@ -461,7 +461,7 @@ visibility_list:
| visibility_list T_EOL | visibility_list T_EOL
; ;
visible: T_VISIBLE if_expr visible: T_VISIBLE if_expr T_EOL
{ {
menu_add_visibility($2); menu_add_visibility($2);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment