Getting rid of globals
This commit is contained in:
@@ -1,18 +1,8 @@
|
||||
global B32 emit_line_directives = true;
|
||||
global B32 emit_type_info = true;
|
||||
global String symbol_prefix = ""_s;
|
||||
global B32 single_header_library_mode = false;
|
||||
global String single_header_library_name = ""_s;
|
||||
global bool color_codes_enabled;
|
||||
|
||||
thread_local Core_Ctx *pctx;
|
||||
|
||||
Allocator *bigint_allocator;
|
||||
global S64 bigint_allocation_count;
|
||||
|
||||
global Token token_null = {SAME_SCOPE};
|
||||
global Token null_token; // @todo: memes, why the above is called null?
|
||||
|
||||
/*#import meta
|
||||
for i in meta.keywords: print(f'Intern_String keyword_{i.lower()};')
|
||||
for i in meta.interns: print(f'Intern_String intern_{i.lower()};')
|
||||
|
||||
Reference in New Issue
Block a user