##// END OF EJS Templates
remove code adding an extra newline
ernie french -
Show More
@@ -217,11 +217,6 b' class Parser:'
217 newpos = self.lines[srow] + scol
217 newpos = self.lines[srow] + scol
218 self.pos = newpos + len(toktext)
218 self.pos = newpos + len(toktext)
219
219
220 # handle newlines
221 #if toktype in [token.NEWLINE, tokenize.NL]:
222 # owrite(linesep)
223 # return
224
225 # send the original whitespace, if needed
220 # send the original whitespace, if needed
226 if newpos > oldpos:
221 if newpos > oldpos:
227 owrite(self.raw[oldpos:newpos])
222 owrite(self.raw[oldpos:newpos])
General Comments 0
You need to be logged in to leave comments. Login now