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.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index 2d96983..7ee62ff 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -241,10 +241,14 @@ typedef struct AstTreeFunctionCallParam {
AstTree *value;
} AstTreeFunctionCallParam;
+typedef struct AstTreeFunctionCallParams {
+ AstTreeFunctionCallParam *data;
+ size_t size;
+} AstTreeFunctionCallParams;
+
typedef struct AstTreeFunctionCall {
AstTree *function;
- AstTreeFunctionCallParam *parameters;
- size_t parameters_size;
+ AstTreeFunctionCallParams parameters;
} AstTreeFunctionCall;
typedef u64 AstTreeInt;
@@ -325,7 +329,7 @@ typedef struct AstTreeNamespace {
typedef struct AstTreeShapeShifter {
AstTreeFunction *function;
struct {
- AstTreeFunctionCall **calls;
+ AstTreeFunctionCallParams *calls;
AstTreeFunction **functions;
size_t size;
} generateds;