Shift/reduce conflict goes away _and_ if/then/else works.

This commit is contained in:
Pavel Machek 1999-11-11 13:27:59 +00:00
parent 986e34131d
commit 4ed8718a19

View file

@ -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