]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixes a bug with multiple function arguments.
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 27 Sep 2011 11:49:32 +0000 (13:49 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 27 Sep 2011 11:49:32 +0000 (13:49 +0200)
filter/config.Y

index 3c5f18b71c18517c3f1a54c373c1bae7a88cca0c..4dffdc63d53ae05545f6bc36fb4ff6ef6a792d78 100644 (file)
@@ -347,7 +347,7 @@ decls: /* EMPTY */ { $$ = NULL; }
 
 /* Declarations that have no ';' at the end. */
 declsn: one_decl { $$ = $1; }
- | declsn ';' one_decl {
+ | one_decl ';' declsn {
      $$ = $1;
      $$->aux2 = $3;
    }