]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.h
Eliminate use of vec_ in fold.c
[xonotic/gmqcc.git] / parser.h
index 49c76c9b8061ce02435897957241f5b17ea34ddc..8607e5c35cc835417e14ca12d7ac96ee82f9006a 100644 (file)
--- a/parser.h
+++ b/parser.h
@@ -9,9 +9,9 @@ struct intrin_t;
 
 struct fold_t {
     parser_t *parser;
-    ast_value **imm_float;              /* vector<ast_value*> */
-    ast_value **imm_vector;             /* vector<ast_value*> */
-    ast_value **imm_string;             /* vector<ast_value*> */
+    std::vector<ast_value*> imm_float;
+    std::vector<ast_value*> imm_vector;
+    std::vector<ast_value*> imm_string;
     hash_table_t *imm_string_untranslate; /* map<string, ast_value*> */
     hash_table_t *imm_string_dotranslate; /* map<string, ast_value*> */
 };