summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-11-04 15:05:40 +0100
committerPavel Machek <pavel@ucw.cz>1999-11-04 15:05:40 +0100
commit3c989eb4a784c34870e9d66d5be3c976d8f03797 (patch)
tree770c37f3125b6f00765ec6cddaaabfc7ff9a84ea
parentae3e1af2a86c428f473ef0270151cead16cc0e8e (diff)
downloadbird-3c989eb4a784c34870e9d66d5be3c976d8f03797.tar
bird-3c989eb4a784c34870e9d66d5be3c976d8f03797.zip
Fixed comments about shift/reduce conflicts.
-rw-r--r--filter/config.Y4
1 files changed, 1 insertions, 3 deletions
diff --git a/filter/config.Y b/filter/config.Y
index c72f3e0..1e4bafe 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -95,8 +95,7 @@ decls: /* EMPTY */ { $$ = NULL; }
}
;
-/* Declarations that have no ';' at the end.
- Ouch, this is responsible for 13 or so shift/reduce conflicts. */
+/* Declarations that have no ';' at the end. */
declsn: one_decl { $$ = $1; }
| declsn ';' one_decl {
$$ = $3;
@@ -234,7 +233,6 @@ constant:
| TEXT { $$ = f_new_inst(); $$->code = 'c'; $$->a1.i = T_STRING; $$->a2.p = $1; }
| pair { $$ = f_new_inst(); $$->code = 'c'; $$->a1.i = T_PAIR; $$->a2.i = $1; }
| ipa { NEW_F_VAL; $$ = f_new_inst(); $$->code = 'C'; $$->a1.p = val; *val = $1; }
- /* Replace with prefix_s to get rid of shift/reduce conflicts. */
| prefix {NEW_F_VAL; $$ = f_new_inst(); $$->code = 'C'; $$->a1.p = val; *val = $1; }
| '[' set_items ']' { printf( "We've got a set here..." ); $$ = f_new_inst(); $$->code = 'c'; $$->a1.i = T_SET; $$->a2.p = build_tree($2); printf( "ook\n" ); }
;