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.y13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/nsgenbind-parser.y b/src/nsgenbind-parser.y
index 46bc4f3..b9ec23b 100644
--- a/src/nsgenbind-parser.y
+++ b/src/nsgenbind-parser.y
@@ -81,7 +81,6 @@ char *errtxt;
%type <node> Binding
%type <node> BindingArgs
%type <node> BindingArg
-%type <node> Type
%type <node> Private
%type <node> Internal
%type <node> Interface
@@ -265,7 +264,7 @@ Binding
{
$$ = genbind_new_node(GENBIND_NODE_TYPE_BINDING,
NULL,
- genbind_new_node(GENBIND_NODE_TYPE_IDENT, $4, $2));
+ genbind_new_node(GENBIND_NODE_TYPE_TYPE, $4, $2));
}
;
@@ -281,8 +280,6 @@ BindingArgs
BindingArg
:
- Type
- |
Private
|
Internal
@@ -292,14 +289,6 @@ BindingArg
Property
;
-Type
- :
- TOK_TYPE TOK_IDENTIFIER ';'
- {
- $$ = genbind_new_node(GENBIND_NODE_TYPE_TYPE, NULL, $2);
- }
- ;
-
Private
:
TOK_PRIVATE TOK_STRING_LITERAL TOK_IDENTIFIER ';'