Actually pass the allocator in so it's used instead of temp.

This commit is contained in:
2025-09-11 11:33:16 +02:00
parent 78e6d6146e
commit 361a310ed1
2 changed files with 5 additions and 5 deletions

View File

@@ -507,10 +507,10 @@ compile_file :: (ctx : *Compiler_Context, path : string, allocator : Allocator =
ctx.file = make_file(ctx, path);
lex(ctx);
parse(ctx);
check(ctx);
codegen(ctx);
lex(ctx, allocator);
parse(ctx, allocator);
check(ctx, allocator);
codegen(ctx, allocator);
generate_output_data(ctx);
}
}