Remove Allocator stuff
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user