summaryrefslogtreecommitdiff
path: root/src/webidl-ast.h
diff options
context:
space:
mode:
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;