diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-30 22:01:19 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-30 22:01:19 +0330 |
commit | c91d3a8893b9c53c5c8e4c5cff72d7caf44cfee4 (patch) | |
tree | 47eb14dbceea446e9e065a12e08c2feff22d693a /src/runner/runner.c | |
parent | bb3822cbb347c712925530ded451fc9027f3b26f (diff) |
fixing some minor issues
Diffstat (limited to 'src/runner/runner.c')
-rw-r--r-- | src/runner/runner.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runner/runner.c b/src/runner/runner.c index 52be448..40bcc75 100644 --- a/src/runner/runner.c +++ b/src/runner/runner.c @@ -1222,8 +1222,8 @@ AstTree *runAstTreeBuiltin(AstTree *tree, AstTreeScope *scope, copyAstTree(function->returnType), NULL, NULL); } case AST_TREE_TOKEN_BUILTIN_STACK_ALLOC: { - AstTree *type = arguments[0]; - AstTree *count = arguments[1]; + AstTree *count = arguments[0]; + AstTree *type = arguments[1]; size_t stackAllocation_capacity = a404m_malloc_usable_size(scope->stackAllocation) / |