Parsing jai style compiler errors
This commit is contained in:
parent
ca075e7392
commit
18e608a152
|
@ -133,6 +133,10 @@ parse_jump_location(String_Const_u8 line){
|
|||
}
|
||||
|
||||
u64 colon_pos2 = string_find_first(string_skip(line, colon_pos1 + 1), ':') + colon_pos1 + 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){
|
||||
|
|
Loading…
Reference in New Issue