From c91d3a8893b9c53c5c8e4c5cff72d7caf44cfee4 Mon Sep 17 00:00:00 2001 From: A404M Date: Fri, 30 May 2025 22:01:19 +0330 Subject: fixing some minor issues --- src/runner/runner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runner') 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) / -- cgit v1.2.3