Change name Scratch_Scope to Scoped_Arena
This commit is contained in:
@@ -109,7 +109,7 @@ static void compile_file(Allocator *allocator, String filename, U32 compile_flag
|
||||
printf("%f - ", total_compiler_time);
|
||||
|
||||
Arena *scratch = pctx->scratch;
|
||||
Scratch_Scope _scope(scratch);
|
||||
Scoped_Arena _scope(scratch);
|
||||
|
||||
F64 begin = os_time();
|
||||
String_Builder builder = {scratch};
|
||||
@@ -175,7 +175,7 @@ int main(int argument_count, char **arguments) {
|
||||
For(args) {
|
||||
|
||||
if (it == "-testing"_s) {
|
||||
Scratch_Scope _scope(&scratch);
|
||||
Scoped_Arena _scope(&scratch);
|
||||
Array<OS_File_Info> examples = os_list_dir(&scratch, &scratch, "examples"_s);
|
||||
Array<OS_File_Info> tests = os_list_dir(&scratch, &scratch, "tests"_s);
|
||||
For(examples) {
|
||||
|
||||
Reference in New Issue
Block a user