Fix static array issue and scratch issue.
This commit is contained in:
@@ -608,8 +608,8 @@ codegen :: (result : *Compiler_Context, output_language : Output_Language, alloc
|
||||
new_context := context;
|
||||
new_context.allocator = allocator;
|
||||
push_context new_context {
|
||||
init_context_allocators();
|
||||
defer clear_context_allocators();
|
||||
init_scratch();
|
||||
defer clear_scratch();
|
||||
|
||||
state : Codegen_State;
|
||||
state.ctx = result;
|
||||
|
||||
Reference in New Issue
Block a user