skip "\r" characters where one would skip "\n" characters

parser.py did not deal correctly with "\r" characters. I made it skip those characters in the two places it skips "\n" characters.