]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
One less shift/reduce conflict.
authorPavel Machek <pavel@ucw.cz>
Wed, 12 Apr 2000 14:05:37 +0000 (14:05 +0000)
committerPavel Machek <pavel@ucw.cz>
Wed, 12 Apr 2000 14:05:37 +0000 (14:05 +0000)
filter/config.Y
filter/filter.h

index 04c0af553024d17e09a52d26d532681d32fda5e9..ebb2e4b1144a06cf78de48749e68ddc3193e96e2 100644 (file)
@@ -412,12 +412,13 @@ term:
  | rtadot dynamic_attr '.' ADD '(' term ')' { }
  | rtadot dynamic_attr '.' DELETE '(' term ')' { }
  | rtadot dynamic_attr '.' CONTAINS '(' term ')' { }
- | rtadot dynamic_attr '.' RESET { }
+ | rtadot dynamic_attr '.' RESET{ }
 */
 
 /* Paths */
- | rtadot dynamic_attr '.' APPEND '(' term ')' { }
- | rtadot dynamic_attr '.' LEN { $$->code = P('P','l'); }
+ | term '.' APPEND '(' term ')' { }
+ | term '.' RESET { }
+/* | term '.' LEN { $$->code = P('P','l'); } */
 
 /* function_call is inlined here */
  | SYM '(' var_list ')' {
index cac124a40307d06d94dbb1a78c749061c85ab516..d634c86755a84ea3ed538e313366f390446018b6 100644 (file)
@@ -64,7 +64,7 @@ struct filter {
 
 void filters_postconfig(void);
 struct f_inst *f_new_inst(void);
-struct f_inst *f_new_dynamic_attr(int type, int f_type, int code);     /* Type as core knows it, type as filters know it, and code */
+struct f_inst *f_new_dynamic_attr(int type, int f_type, int code);     /* Type as core knows it, type as filters know it, and code of dynamic attribute */
 struct f_tree *f_new_tree(void);
 
 struct f_tree *build_tree(struct f_tree *);