]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
assignable return value now lives in ast_function, as globals can get overwritten...
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index c624a1fb1dc24e88738a532b9a84a71a9c8f0239..a0fa14defca70bfadeeee0224bf5936d6f6249b4 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -622,6 +622,7 @@ struct ast_function_s
     ast_value   *varargs;
     ast_value   *argc;
     ast_value   *fixedparams;
+    ast_value   *return_value;
 };
 ast_function* ast_function_new(lex_ctx ctx, const char *name, ast_value *vtype);
 /* This will NOT delete the underlying ast_value */