Issue #1712: More tests.
Fix #1712 again. This time don't consume the \r in \ \r\n sequence
(which seems to break the lexer state when it needs to look ahead)
just treat \r\n and \r as single line terminators when it comes to line counts.