Skip over carriage return after backslash
Closes
@@ -249,7 +249,10 @@ struct Scanner {
indent_length = 0;
} else if (lexer->lookahead == '\\') {
skip(lexer);
- if (iswspace(lexer->lookahead)) {
+ if (lexer->lookahead == '\r') {
+ skip(lexer);
+ }
+ if (lexer->lookahead == '\n') {
skip(lexer);
} else {
return false;
