Cleanup Slice and Tuple generation

This commit is contained in:
Krzosa Karol
2022-06-16 12:16:15 +02:00
parent c604b44458
commit 5345894e3e
6 changed files with 48 additions and 28 deletions

View File

@@ -180,7 +180,8 @@ struct Parse_Ctx:Lexer{
Allocator *perm; // Stores: AST, tokens, interns
Allocator *heap;
U64 unique_ids;
U64 type_ids;
U64 unique_ids; // @Debug
Map type_map;
Ast_Module *builtins;
@@ -188,6 +189,7 @@ struct Parse_Ctx:Lexer{
Ast_Scope *currently_parsed_scope;
Ast_File *currently_parsed_file;
Array<Ast_Decl *> ordered_decls;
Array<Ast_Decl *> c_backend_decls;
S64 indent;
String_Builder gen;