]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
Merge branch 'master' into blub/parser
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 5a09b434764598f282d7ecf10f8981a8b65d2eb7..29f3061d70d56632cf944ac2a8ed5052dba272ee 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -63,7 +63,7 @@ enum {
     TYPE_ast_member
 };
 
-#define ast_istype(x, t) ( ((ast_node_common*)x)->nodetype == (t) )
+#define ast_istype(x, t) ( ((ast_node_common*)x)->nodetype == (TYPE_##t) )
 
 /* Node interface with common components
  */