Working on simplifying the allocation scheme
This commit is contained in:
@@ -20,13 +20,13 @@ struct Lex_Stream{
|
||||
Array<Token *> indent_stack;
|
||||
};
|
||||
|
||||
struct Parse_Ctx{
|
||||
struct Core_Ctx{
|
||||
Arena *perm; // Stores: AST, tokens, interns
|
||||
Allocator *heap;
|
||||
|
||||
Scratch_Arena *scratch;
|
||||
|
||||
Arena stage_arena;
|
||||
Arena _scratch;
|
||||
Arena *scratch;
|
||||
|
||||
// Lexer stuff
|
||||
Lex_Stream stream;
|
||||
|
||||
Reference in New Issue
Block a user