mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Shift/reduce conflict goes away _and_ if/then/else works.
This commit is contained in:
parent
986e34131d
commit
4ed8718a19
@ -38,10 +38,8 @@ CF_KEYWORDS(FUNCTION, PRINT, PRINTN, CONST,
|
||||
FILTER
|
||||
)
|
||||
|
||||
/* Add these to break parser and make shift/reduce conflict go away :-(
|
||||
%nonassoc ELSE
|
||||
%nonassoc THEN
|
||||
*/
|
||||
%nonassoc ELSE
|
||||
|
||||
%type <x> term block cmds cmd function_body constant print_one print_list var_list var_listn any_dynamic enums
|
||||
%type <f> filter filter_body
|
||||
|
Loading…
Reference in New Issue
Block a user