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. */
declsn: one_decl { $$ = $1; }
| declsn ';' one_decl {
| one_decl ';' declsn {
$$ = $1;
$$->aux2 = $3;
}