diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-04 21:19:10 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-04 21:19:10 +0000 |
commit | a58dad62383855ad1a60d4ec5406c38d24874506 (patch) | |
tree | 5ebafebb0826e64d4694a8705717512725161039 /filter | |
parent | ee76a92a80a0241421f57fe332c251255d2af4f8 (diff) |
Please *think* when defining operator priorities.
(-: num_of_parser_conflicts -= 42 :-)
Diffstat (limited to 'filter')
-rw-r--r-- | filter/config.Y | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/filter/config.Y b/filter/config.Y index dc7cc5a0..e99d5b71 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -39,8 +39,6 @@ CF_KEYWORDS(FUNCTION, PRINT, PRINTN, CONST, UNSET, RETURN, %nonassoc THEN %nonassoc ELSE -%token GEQ LEQ NEQ - %type <x> term block cmds cmd function_body constant print_one print_list var_list var_listn dynamic_attr function_call %type <f> filter filter_body where_filter %type <i> type break_command pair @@ -298,8 +296,6 @@ function_call: } ; -/* NEQ, LEQ and GEQ are responsible for 42 shift/reduce conflicts */ - term: '(' term ')' { $$ = $2; } | term '+' term { $$ = f_new_inst(); $$->code = '+'; $$->a1.p = $1; $$->a2.p = $3; } |