Fix static array issue and scratch issue.
This commit is contained in:
@@ -1476,8 +1476,8 @@ parse :: (ctx : *Compiler_Context, allocator := temp) {
|
||||
new_context := context;
|
||||
new_context.allocator = allocator;
|
||||
push_context new_context {
|
||||
init_context_allocators();
|
||||
defer clear_context_allocators();
|
||||
init_scratch();
|
||||
defer clear_scratch();
|
||||
|
||||
parse_state : Parser;
|
||||
array_reserve(*ctx.nodes, 128); //@Note(niels): This is quite a random number to be honest
|
||||
|
||||
Reference in New Issue
Block a user