summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/gram.y b/parse/gram.y
index fddf7e8..2746e31 100644
--- a/parse/gram.y
+++ b/parse/gram.y
@@ -535,7 +535,7 @@ argdefs : typedeclcore {
$$.nl = NULL;
$$.nn = 0; lappend(&$$.nl, &$$.nn, $1);
}
- | argdefs Tcomma declcore {lappend(&$$.nl, &$$.nn, $3);}
+ | argdefs Tcomma typedeclcore {lappend(&$$.nl, &$$.nn, $3);}
| /* empty */ {
$$.loc.line = 0;
$$.loc.file = 0;