0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 02:01:55 +00:00

Fixes a bug with multiple function arguments.

This commit is contained in:
Ondrej Zajicek 2011-09-27 13:49:32 +02:00
parent bf6d91dc4e
commit 736fd7303c

View File

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