]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
ast_store to take ast_expression on its left, rather than ast_value. Assigning to...
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index 61b89e4caee5d78be54d00d201b126d6ac7542df..e153a5a7f57ef47b60d5a0f62b7f98e7da68b409 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -404,7 +404,7 @@ void ast_call_delete(ast_call *self)
 }
 
 ast_store* ast_store_new(lex_ctx ctx, int op,
-                         ast_value *dest, ast_expression *source)
+                         ast_expression *dest, ast_expression *source)
 {
     ast_instantiate(ast_store, ctx, ast_store_delete);
     ast_expression_init((ast_expression*)self, (ast_expression_codegen*)&ast_store_codegen);