summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-10-26 20:06:36 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-10-26 20:06:36 +0200
commit78e33c29bbbc6f4dd308cd8ef589ce543c3d8d6e (patch)
tree1e88af94914631bcea8498c65b86fccce5ef10af /filter
parent14a8f396e1d8fc5787041eace8ab026fe5a0896c (diff)
downloadbird-78e33c29bbbc6f4dd308cd8ef589ce543c3d8d6e.tar
bird-78e33c29bbbc6f4dd308cd8ef589ce543c3d8d6e.zip
Some minor fixes in parser.
Diffstat (limited to 'filter')
-rw-r--r--filter/config.Y6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 4dffdc6..0166d27 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); }
;