mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 07:31:54 +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
|
FILTER
|
||||||
)
|
)
|
||||||
|
|
||||||
/* Add these to break parser and make shift/reduce conflict go away :-(
|
|
||||||
%nonassoc ELSE
|
|
||||||
%nonassoc THEN
|
%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 <x> term block cmds cmd function_body constant print_one print_list var_list var_listn any_dynamic enums
|
||||||
%type <f> filter filter_body
|
%type <f> filter filter_body
|
||||||
|
Loading…
Reference in New Issue
Block a user