]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
creating vector's _xyz globals now, accessing them
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 3b7ebdca0c22aceea61ead4ec6baceeb5ab3c0e7..a5eee195eff07d168b9f774e3e0a29831ebae73e 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
  */