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

@@ -635,14 +635,12 @@ struct Core_Message {
Core_Message *next;
Core_Message_Kind kind;
String string;
Token *pos1;
Token *pos2;
Token *tokens[2];
int trace_line;
char *trace_file;
};
/*
Array<Token> core_lex_file(Allocator *allocator, char *filename);
Array<Token> core_lex_string(Allocator *allocator, char *string, size_t size);