summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-07 10:45:05 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-02-07 10:45:05 (GMT)
commit0081a72a6bb0a3f9d4d501abb68a19bd24382c94 (patch)
tree7005bc142a538e4414e367a8535c1a286e735780
parent5997ce5c5b767745b8ecc3508941f8b4d072dcc9 (diff)
downloadnsgenbind-0081a72a6bb0a3f9d4d501abb68a19bd24382c94.tar.gz
nsgenbind-0081a72a6bb0a3f9d4d501abb68a19bd24382c94.tar.bz2
fix ambiguity in grammar around class arguments
-rw-r--r--src/nsgenbind-parser.y6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
index a970ad2..c6b9a74 100644
--- a/src/nsgenbind-parser.y
+++ b/src/nsgenbind-parser.y
@@ -548,11 +548,9 @@ ClassArgs:
$$ = NULL;
}
|
- ClassArg
- |
- ClassArgs ClassArg
+ ClassArg ClassArgs
{
- $$ = genbind_node_link($2, $1);
+ $$ = genbind_node_prepend($2, $1);
}
;