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.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -31,7 +31,7 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE]; · 30 unmodified lines | |||
| 31 | static struct menu *current_menu, *current_entry; | 31 | static struct menu *current_menu, *current_entry; |
| 32 | 32 | ||
| 33 | %} | 33 | %} |
| 34 | %expect 30 | 34 | %expect 29 |
| 35 | 35 | ||
| 36 | %union | 36 | %union |
| 37 | { | 37 | { |
| @@ -461,7 +461,7 @@ visibility_list: · 423 unmodified lines | |||
| 461 | | visibility_list T_EOL | 461 | | visibility_list T_EOL |
| 462 | ; | 462 | ; |
| 463 | 463 | ||
| 464 | visible: T_VISIBLE if_expr | 464 | visible: T_VISIBLE if_expr T_EOL |
| 465 | { | 465 | { |
| 466 | menu_add_visibility($2); | 466 | menu_add_visibility($2); |
| 467 | }; | 467 | }; |