Parsing jai style compiler errors

This commit is contained in:
PS 2024-02-10 19:34:25 -08:00
parent ca075e7392
commit 18e608a152
1 changed files with 5 additions and 1 deletions

View File

@ -133,7 +133,11 @@ parse_jump_location(String_Const_u8 line){
} }
u64 colon_pos2 = string_find_first(string_skip(line, colon_pos1 + 1), ':') + colon_pos1 + 1; u64 colon_pos2 = string_find_first(string_skip(line, colon_pos1 + 1), ':') + colon_pos1 + 1;
u64 colon_pos3 = string_find_first(string_skip(line, colon_pos2 + 1), ':') + colon_pos2 + 1; u64 comma_pos2 = string_find_first(string_skip(line, colon_pos1 + 1), ',') + colon_pos1 + 1;
if (comma_pos2 < colon_pos2) {
colon_pos2 = comma_pos2;
}
u64 colon_pos3 = string_find_first(string_skip(line, colon_pos2 + 1), ':') + colon_pos2 + 1;
if (colon_pos3 < line.size){ if (colon_pos3 < line.size){
if (check_is_note(line, colon_pos3)){ if (check_is_note(line, colon_pos3)){