Errortokens should also make the parser fail in the normal parser.

This commit is contained in:
Dave Halter
2015-12-20 23:11:52 +01:00
parent 5791860861
commit c15551ccc1
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ def generate_tokens(readline):
if new_line:
end_pos = lnum + 1, 0
else:
end_pos = lnum, max - 1
end_pos = lnum, max
# As the last position we just take the maximally possible position. We
# remove -1 for the last new line.
for indent in indents[1:]: