]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
ast_store to take ast_expression on its left, rather than ast_value. Assigning to...
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 187ec882cb8093dc6f09d24374be9fa0944012e5..fc4fef3553e51dd08a9a8f12bffbdb83a36a0c73 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -218,11 +218,11 @@ struct ast_store_s
 {
     ast_expression_common expression;
     int             op;
-    ast_value      *dest; /* When we add pointers this might have to change to expression */
+    ast_expression *dest;
     ast_expression *source;
 };
 ast_store* ast_store_new(lex_ctx ctx, int op,
-                         ast_value *d, ast_expression *s);
+                         ast_expression *d, ast_expression *s);
 void ast_store_delete(ast_store*);
 
 bool ast_store_codegen(ast_store*, ast_function*, bool lvalue, ir_value**);