Shift/reduce conflict goes away _and_ if/then/else works.
This commit is contained in:
parent
986e34131d
commit
4ed8718a19
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue