]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
manpage: -fbail-on-werror
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index a7d131c1ae3c558807e48b28bff93d5766f031cb..bc37eea72888fb3800028997f1f9b4559567224c 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -161,7 +161,7 @@ struct ast_value_s
     ast_value  *next;
     */
 
-    bool cvq;     /* const/var qualifier */
+    int  cvq;     /* const/var qualifier */
     bool isfield; /* this declares a field */
     bool hasvalue;
     union {
@@ -326,6 +326,7 @@ struct ast_member_s
 };
 ast_member* ast_member_new(lex_ctx ctx, ast_expression *owner, unsigned int field, const char *name);
 void ast_member_delete(ast_member*);
+bool ast_member_set_name(ast_member*, const char *name);
 
 bool ast_member_codegen(ast_member*, ast_function*, bool lvalue, ir_value**);