More raylib stuff, error messages matching sublime error format

This commit is contained in:
Krzosa Karol
2023-04-17 21:07:21 +02:00
parent 556677c42b
commit 7cb4b7145f
4 changed files with 254 additions and 24 deletions

View File

@@ -70,7 +70,7 @@ String core_stringify_message(Core_Ctx *pctx, Allocator *allocator, Core_Message
for (S64 i = 0; i < buff_cap(msg->tokens); i += 1) {
Token *it = msg->tokens[i];
if (it) {
b.addf("\n%s:%d", it->file.str, (S64)it->line + 1);
b.addf("\n%s(%d): error", it->file.str, (S64)it->line + 1);
}
}