Show More
@@ -218,7 +218,7 b' class Parser:' | |||||
218 | self.pos = newpos + len(toktext) |
|
218 | self.pos = newpos + len(toktext) | |
219 |
|
219 | |||
220 | # handle newlines |
|
220 | # handle newlines | |
221 | if toktype in [token.NEWLINE, tokenize.NL]: |
|
221 | if toktext and toktype in [token.NEWLINE, tokenize.NL]: | |
222 | owrite(linesep) |
|
222 | owrite(linesep) | |
223 | return |
|
223 | return | |
224 |
|
224 |
General Comments 0
You need to be logged in to leave comments.
Login now