lexer: gobble up '\r' garbage that mac and DOS use