diff options
| author | Zac Nowicki <zachnowicki@gmail.com> | 2022-09-15 07:07:55 -0400 |
|---|---|---|
| committer | Zac Nowicki <zachnowicki@gmail.com> | 2022-09-15 07:09:38 -0400 |
| commit | 4767311a222bbbe68461ad103702c19c046ed76e (patch) | |
| tree | 88c8ae5676c3effe287dc03be07fc0d233305962 /src | |
| parent | f50fc33749d550187a41b62f203c33549073fbf3 (diff) | |
Fix -verbose-error source lines from having last char cut off
Fixes #1226
Diffstat (limited to 'src')
| -rw-r--r-- | src/parser.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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; |