diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-09-15 16:09:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-15 16:09:15 +0200 |
| commit | 479278be4ee0ce889a3e7816a9419e093f285471 (patch) | |
| tree | 88c8ae5676c3effe287dc03be07fc0d233305962 /src/parser.cpp | |
| parent | f50fc33749d550187a41b62f203c33549073fbf3 (diff) | |
| parent | 4767311a222bbbe68461ad103702c19c046ed76e (diff) | |
Merge pull request #2053 from z64/master
Fix -verbose-error source lines from having last char cut off with LF files
Diffstat (limited to 'src/parser.cpp')
| -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; |