Moving more code to list
This commit is contained in:
@@ -157,8 +157,7 @@ struct Lexer{
|
||||
//
|
||||
|
||||
struct Parse_Ctx:Lexer{
|
||||
Allocator *perm; // Stores: AST, tokens, interns
|
||||
Arena *perm_arena;
|
||||
Arena *perm; // Stores: AST, tokens, interns
|
||||
Allocator *heap;
|
||||
Arena stage_arena;
|
||||
|
||||
@@ -170,9 +169,9 @@ struct Parse_Ctx:Lexer{
|
||||
|
||||
Ast_Module *language_base_module;
|
||||
|
||||
Array<Ast_File *> files;
|
||||
Array<Ast_Module *> modules;
|
||||
Array<Ast_Decl *> ordered_decls;
|
||||
List<Ast_File *> files;
|
||||
List<Ast_Module *> modules;
|
||||
List<Ast_Decl *> ordered_decls;
|
||||
S32 base_language_ordered_decl_len;
|
||||
|
||||
Ast_Scope *currently_parsed_scope;
|
||||
@@ -180,7 +179,7 @@ struct Parse_Ctx:Lexer{
|
||||
U32 scope_ids;
|
||||
U32 scope_visit_id;
|
||||
|
||||
Array<String> module_folders;
|
||||
List<String> module_folders;
|
||||
String module_folder;
|
||||
String exe_folder;
|
||||
String working_folder;
|
||||
|
||||
Reference in New Issue
Block a user