summaryrefslogtreecommitdiff
path: root/src/runner
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-03-20 04:52:30 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-03-20 04:52:30 +0330
commit624a73ae10eb3aaa535eb41c023c59919df28c99 (patch)
tree9aca0fe00deb01c609cc0ff725d2f3d6edbb8c29 /src/runner
parent698c80e46460ab76fd4859a7c3026650bd3cce44 (diff)
fix bug in paramter types in function calls
Diffstat (limited to 'src/runner')
-rw-r--r--src/runner/runner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runner/runner.c b/src/runner/runner.c
index cf1c92e..36c84e5 100644
--- a/src/runner/runner.c
+++ b/src/runner/runner.c
@@ -215,7 +215,8 @@ AstTree *runAstTreeFunction(AstTree *tree, AstTree **arguments,
AstTree *ret = &AST_TREE_VOID_VALUE;
for (size_t i = 0; i < function->scope.expressions_size; ++i) {
- AstTree *r = runExpression(function->scope.expressions[i], &pages, &shouldRet);
+ AstTree *r =
+ runExpression(function->scope.expressions[i], &pages, &shouldRet);
if (shouldRet) {
ret = r;
break;