]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
Use std::vector for break and continue ast blocks
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index d101a21b05b0f5172e11218f330af4a935e531ac..ad50c6178b50264dfb879c81b4166b708ce3d13a 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -640,8 +640,8 @@ struct ast_function
 
     ir_function *ir_func;
     ir_block    *curblock;
-    ir_block    **breakblocks;
-    ir_block    **continueblocks;
+    std::vector<ir_block*> breakblocks;
+    std::vector<ir_block*> continueblocks;
 
     size_t       labelcount;
     /* in order for thread safety - for the optional