Browse Source

Merge pull request #2053 from z64/master

Fix -verbose-error source lines from having last char cut off with LF files
Jeroen van Rijn 2 years ago
parent
commit
479278be4e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/parser.cpp

+ 0 - 1
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;