]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
Use std::vector for ast blocks
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 3938f2a15404e7c63e3ef722bf2168dfec72f2bd..e5b331b73712176667c1418afe03c2c835173874 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -649,7 +649,7 @@ struct ast_function
      * here to use in ast_function_label.
      */
     char         labelbuf[64];
-    ast_block* *blocks;
+    std::vector<ast_block*> blocks;
     ast_value *varargs;
     ast_value *argc;
     ast_value *fixedparams;