Small allocator changes, fix crash
This commit is contained in:
@@ -22,8 +22,11 @@ struct Lex_Stream{
|
||||
|
||||
struct Parse_Ctx{
|
||||
Arena *perm; // Stores: AST, tokens, interns
|
||||
Allocator *heap;
|
||||
|
||||
Arena stage_arena;
|
||||
Arena scratch;
|
||||
Arena _scratch;
|
||||
Arena *scratch;
|
||||
|
||||
// Lexer stuff
|
||||
Lex_Stream stream;
|
||||
|
||||
Reference in New Issue
Block a user