Jan David Mol <jjd...@gmail.com> added the comment: Attached is a patch which fixes this for me. It basically does a fall-through using '\n' when encountering a comment. So that may be a bit of a hack (who says '\n' is the only newline char in there, and not '\r'?) but I'll leave the more intricate stuff to you experts.
---------- keywords: +patch Added file: http://bugs.python.org/file15088/lexer-newline-tokens.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7089> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com