From 4767311a222bbbe68461ad103702c19c046ed76e Mon Sep 17 00:00:00 2001 From: Zac Nowicki Date: Thu, 15 Sep 2022 07:07:55 -0400 Subject: [PATCH] Fix -verbose-error source lines from having last char cut off Fixes #1226 --- src/parser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parser.cpp b/src/parser.cpp index 2109945ec..286f6d7a2 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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;