From: Ondrej Zajicek Date: Wed, 26 Oct 2011 18:06:36 +0000 (+0200) Subject: Some minor fixes in parser. X-Git-Tag: v1.3.5~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78e33c29bbbc6f4dd308cd8ef589ce543c3d8d6e;p=thirdparty%2Fbird.git Some minor fixes in parser. --- diff --git a/filter/config.Y b/filter/config.Y index 4dffdc63d..0166d27b8 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -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); } ;