History

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.

Masahiro Yamada committed 7 years ago

Commit 413cd191 parent fbac5971 file · +2 −2Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/zconf.y+2−2
@@ -31,7 +31,7 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE]; · 30 unmodified lines
31static struct menu *current_menu, *current_entry;31static struct menu *current_menu, *current_entry;
32 32
33%}33%}
34%expect 3034%expect 29
35 35
36%union36%union
37{37{
@@ -461,7 +461,7 @@ visibility_list: · 423 unmodified lines
461 | visibility_list T_EOL461 | visibility_list T_EOL
462;462;
463 463
464visible: T_VISIBLE if_expr464visible: T_VISIBLE if_expr T_EOL
465{465{
466 menu_add_visibility($2);466 menu_add_visibility($2);
467};467};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t