summaryrefslogtreecommitdiff
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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compiler/ast-tree.h b/src/compiler/ast-tree.h
index 19ff9e9..8fdeb53 100644
--- a/src/compiler/ast-tree.h
+++ b/src/compiler/ast-tree.h
@@ -122,9 +122,15 @@ typedef struct AstTreeTypeFunction {
AstTree *returnType;
} AstTreeTypeFunction;
+typedef struct AstTreeFunctionCallParam {
+ char *nameBegin;
+ char *nameEnd;
+ AstTree *value;
+} AstTreeFunctionCallParam;
+
typedef struct AstTreeFunctionCall {
AstTree *function;
- AstTree **parameters;
+ AstTreeFunctionCallParam *parameters;
size_t parameters_size;
} AstTreeFunctionCall;