mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 04:10:07 +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) {
|
while (line_end < end) {
|
||||||
if (*line_end == '\n') {
|
if (*line_end == '\n') {
|
||||||
line_end -= 1;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
line_end += 1;
|
line_end += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user