diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2011-10-26 20:06:36 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2011-10-26 20:06:36 +0200 |
commit | 78e33c29bbbc6f4dd308cd8ef589ce543c3d8d6e (patch) | |
tree | 1e88af94914631bcea8498c65b86fccce5ef10af /filter | |
parent | 14a8f396e1d8fc5787041eace8ab026fe5a0896c (diff) |
Some minor fixes in parser.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/config.Y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/config.Y b/filter/config.Y index 4dffdc63..0166d27b 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); } ; |