diff options
author | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2012-09-10 15:35:49 +0100 |
---|---|---|
committer | Vincent Sanders <vincent.sanders@collabora.co.uk> | 2012-09-10 15:35:49 +0100 |
commit | b19fd9d8772824d12d33a3236710a9b6e96bda76 (patch) | |
tree | f4ed3e9c17693d66822303d064d8560ed840aa96 /src/webidl-ast.h | |
parent | 751839d208b02af3d0a2329e6d75a90d51a247ff (diff) | |
download | nsgenbind-b19fd9d8772824d12d33a3236710a9b6e96bda76.tar.gz nsgenbind-b19fd9d8772824d12d33a3236710a9b6e96bda76.tar.bz2 |
clean up parser warnings
Diffstat (limited to 'src/webidl-ast.h')
-rw-r--r-- | src/webidl-ast.h | 5 |
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; |