summaryrefslogtreecommitdiff
path: root/src/nsgenbind-parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsgenbind-parser.y')
-rw-r--r--src/nsgenbind-parser.y6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
index 456decb..0f30dfc 100644
--- a/src/nsgenbind-parser.y
+++ b/src/nsgenbind-parser.y
@@ -350,7 +350,11 @@ ParameterList
|
ParameterList ',' TypeIdent
{
- $$ = genbind_node_link($3, $1);
+ $$ = genbind_node_prepend($1,
+ genbind_new_node(
+ GENBIND_NODE_TYPE_PARAMETER,
+ NULL,
+ $3));
}
;