summaryrefslogtreecommitdiff
path: root/src/webidl-ast.h
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2012-09-10 15:35:49 +0100
committerVincent Sanders <vincent.sanders@collabora.co.uk>2012-09-10 15:35:49 +0100
commitb19fd9d8772824d12d33a3236710a9b6e96bda76 (patch)
treef4ed3e9c17693d66822303d064d8560ed840aa96 /src/webidl-ast.h
parent751839d208b02af3d0a2329e6d75a90d51a247ff (diff)
downloadnsgenbind-b19fd9d8772824d12d33a3236710a9b6e96bda76.tar.gz
nsgenbind-b19fd9d8772824d12d33a3236710a9b6e96bda76.tar.bz2
clean up parser warnings
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r--src/webidl-ast.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/webidl-ast.h b/src/webidl-ast.h
index 3c93305..6c61de9 100644
--- a/src/webidl-ast.h
+++ b/src/webidl-ast.h
@@ -9,7 +9,10 @@
#ifndef genjsbind_webidl_ast_h
#define genjsbind_webidl_ast_h
-#define WEBIDL_NODE_TYPE_ROOT 0
+enum webidl_node_type {
+ WEBIDL_NODE_TYPE_ROOT = 0,
+
+};
struct webidl_node {
int type;