Remove Allocator stuff

This commit is contained in:
Krzosa Karol
2022-10-10 10:22:04 +02:00
parent 2f153a7cd3
commit 7aa0ba56b6
14 changed files with 69 additions and 192 deletions

View File

@@ -470,7 +470,7 @@ ast_array(Token *pos, Ast_Expr *expr){
}
function Ast_Scope *
begin_decl_scope(Allocator *scratch, Token *pos){
begin_decl_scope(Arena *scratch, Token *pos){
AST_NEW(Scope, SCOPE, pos, AST_DECL);
result->file = pctx->currently_parsed_file;
result->module = pctx->currently_parsed_file->module;
@@ -555,7 +555,7 @@ ast_type(Token *pos, Intern_String name, Ast_Type *type){
}
function Ast_Scope *
ast_decl_scope(Token *pos, Allocator *allocator, Ast_File *file){
ast_decl_scope(Token *pos, Arena *allocator, Ast_File *file){
AST_NEW(Scope, SCOPE, pos, AST_DECL);
result->file = file;