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, 6 insertions, 0 deletions
diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
index e64d255..6364bf7 100644
--- a/src/nsgenbind-parser.y
+++ b/src/nsgenbind-parser.y
@@ -301,5 +301,11 @@ Unshared
$$ = genbind_new_node(GENBIND_NODE_TYPE_BINDING_UNSHARED, NULL,
genbind_new_node(GENBIND_NODE_TYPE_TYPE, NULL, $3));
}
+ |
+ TOK_UNSHARED TOK_IDENTIFIER ';'
+ {
+ $$ = genbind_new_node(GENBIND_NODE_TYPE_BINDING_UNSHARED, NULL,
+ genbind_new_node(GENBIND_NODE_TYPE_IDENT, NULL, $2));
+ }
;
%%