From 6ccbb7e3fe88c9a6ddb232c43f71b9c8cb80a884 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 14 Sep 2012 00:37:09 +0100 Subject: fixus interface memer attributes --- src/webidl-ast.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/webidl-ast.h') diff --git a/src/webidl-ast.h b/src/webidl-ast.h index 9a516af..04b49a9 100644 --- a/src/webidl-ast.h +++ b/src/webidl-ast.h @@ -11,10 +11,11 @@ enum webidl_node_type { WEBIDL_NODE_TYPE_ROOT = 0, + WEBIDL_NODE_TYPE_IDENT, WEBIDL_NODE_TYPE_INTERFACE, - WEBIDL_NODE_TYPE_INTERFACE_IDENT, WEBIDL_NODE_TYPE_INTERFACE_MEMBERS, WEBIDL_NODE_TYPE_INTERFACE_INHERITANCE, + WEBIDL_NODE_TYPE_ATTRIBUTE, }; struct webidl_node { @@ -46,7 +47,7 @@ int webidl_node_for_each_type(struct webidl_node *node, void *ctx); /* debug dump */ -int webidl_ast_dump(struct webidl_node *node); +int webidl_ast_dump(struct webidl_node *node, int indent); /** parse web idl file */ int webidl_parsefile(char *filename, struct webidl_node **webidl_ast); -- cgit v1.2.3