]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
Support in the AST for TYPE_FIELD globals which are no actual fields
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 725f123cec9f45156cf5d29e229ee1ae93c13899..ffad71052805b881f93b15104921675f724af979 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -171,7 +171,7 @@ bool ast_value_set_name(ast_value*, const char *name);
 
 bool ast_value_codegen(ast_value*, ast_function*, bool lvalue, ir_value**);
 bool ast_local_codegen(ast_value *self, ir_function *func, bool isparam);
-bool ast_global_codegen(ast_value *self, ir_builder *ir);
+bool ast_global_codegen(ast_value *self, ir_builder *ir, bool isfield);
 
 bool GMQCC_WARN ast_value_params_add(ast_value*, ast_value*);