aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/ast-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/ast-tree.h')
-rw-r--r--src/compiler/ast-tree.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index f6d9394..d95435b 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -290,7 +290,8 @@ typedef struct AstTreeWhile {
typedef struct AstTreeSetTypesHelper {
AstTree *lookingType;
AstTreeVariables dependencies;
- AstTreeVariables variables;
+ AstTreeVariables *variables;
+ size_t variables_size;
AstTreeRoot *root;
AstTreeWhile **loops;
size_t loops_size;
@@ -555,7 +556,7 @@ bool setTypesBuiltinCFunction(AstTree *tree, AstTreeSetTypesHelper helper,
bool setTypesBuiltinInsert(AstTree *tree, AstTreeSetTypesHelper helper,
AstTreeFunctionCall *functionCall);
bool setTypesTypeArray(AstTree *tree, AstTreeSetTypesHelper helper);
-bool setTypesAstFunction(AstTreeFunction *function,AstTree *tree,
+bool setTypesAstFunction(AstTreeFunction *function, AstTree *tree,
AstTreeSetTypesHelper helper);
bool setTypesAstVariable(AstTreeVariable *variable,