]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Some minor fixes in parser.
authorOndrej Zajicek <santiago@crfreenet.org>
Wed, 26 Oct 2011 18:06:36 +0000 (20:06 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 26 Oct 2011 18:06:36 +0000 (20:06 +0200)
filter/config.Y

index 4dffdc63d53ae05545f6bc36fb4ff6ef6a792d78..0166d27b87dab6b36dfbcc3b1696e69ffc2c1cf3 100644 (file)
@@ -242,7 +242,7 @@ f_generate_ec(u16 kind, struct f_inst *tk, struct f_inst *tv)
   }
 
   return rv;
-};
+}
 
 
 
@@ -619,8 +619,8 @@ constant:
  ;
 
 constructor:
-   '(' term ',' term ')' { $$ = f_generate_dpair($2, $4); };
- | '(' ec_kind ',' term ',' term ')' { $$ = f_generate_ec($2, $4, $6); };
+   '(' term ',' term ')' { $$ = f_generate_dpair($2, $4); }
+ | '(' ec_kind ',' term ',' term ')' { $$ = f_generate_ec($2, $4, $6); }
  ;