summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-11 13:27:59 +0000
committerPavel Machek <pavel@ucw.cz>1999-11-11 13:27:59 +0000
commit4ed8718a19747bba95ff86fb8d3c6ea357b50101 (patch)
tree5f59d659da1dd53e519415dbc15ed59beed64824 /filter
parent986e34131dbd2bca668c2b0a6ebb25de6848fc0a (diff)
Shift/reduce conflict goes away _and_ if/then/else works.
Diffstat (limited to 'filter')
-rw-r--r--filter/config.Y4
1 files changed, 1 insertions, 3 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 54aeb69d..5c8977cf 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -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