Get rid of clib in big int, introduce message api, add stringify message

This commit is contained in:
Krzosa Karol
2023-01-01 19:51:35 +01:00
parent ec66f02e46
commit aa994c999a
7 changed files with 82 additions and 92 deletions

View File

@@ -40,6 +40,7 @@ struct Core_Ctx{
Scratch_Arena *scratch;
Scratch_Arena *stage_arena;
String_Builder helper_builder;
int errors_occured;
int warnings_occured;
@@ -78,8 +79,6 @@ struct Core_Ctx{
String working_folder;
List<Token *> files_to_link;
String_Builder helper_builder;
F64 generating_time_begin;
F64 generating_time_end;
F64 resolving_time_begin;
@@ -91,6 +90,7 @@ struct Core_Ctx{
F64 parsing_time_end;
bool color_codes_enabled;
bool debugger_break_on_compiler_error;
// Codegen stage mostly
S64 indent;