Stop special treating of `\r` in the lexer; fix #4132

parent 86d10235
......@@ -3710,14 +3710,6 @@ nextc(parser_state *p)
if (c >= 0) {
p->column++;
}
if (c == '\r') {
c = nextc(p);
if (c != '\n') {
pushback(p, c);
return '\r';
}
return c;
}
return c;
eof:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment