mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Merge branch 'master' of https://github.com/Mango0x45/Odin into pr/3744
This commit is contained in:
+1
-2
@@ -352,8 +352,7 @@ gb_internal isize show_error_on_line(TokenPos const &pos, TokenPos end) {
|
|||||||
rune_width = cast(i32)utf8proc_iterate((u8 const *)line_text + off, line_len - off, &rune);
|
rune_width = cast(i32)utf8proc_iterate((u8 const *)line_text + off, line_len - off, &rune);
|
||||||
columns += utf8proc_charwidth(rune);
|
columns += utf8proc_charwidth(rune);
|
||||||
}
|
}
|
||||||
|
for (i32 i = 1; i < columns; i++) {
|
||||||
for (i32 i = 0; i < columns - 1; i++) {
|
|
||||||
error_out("~");
|
error_out("~");
|
||||||
}
|
}
|
||||||
if (columns > 0 && squiggle_extra == 0) {
|
if (columns > 0 && squiggle_extra == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user