Commit 4ed8718a authored by Pavel Machek's avatar Pavel Machek
Browse files

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

parent 986e3413
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment