mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 09:24:33 +00:00
Fix -verbose-error source lines from having last char cut off
Fixes #1226
This commit is contained in:
@@ -41,7 +41,6 @@ gbString get_file_line_as_string(TokenPos const &pos, i32 *offset_) {
|
||||
|
||||
while (line_end < end) {
|
||||
if (*line_end == '\n') {
|
||||
line_end -= 1;
|
||||
break;
|
||||
}
|
||||
line_end += 1;
|
||||
|
||||
Reference in New Issue
Block a user