Fixed wrong behavior on `..` at the beginning of the line.

parent c1901539
...@@ -4758,8 +4758,7 @@ parser_yylex(parser_state *p) ...@@ -4758,8 +4758,7 @@ parser_yylex(parser_state *p)
space_seen = 1; space_seen = 1;
break; break;
case '.': case '.':
if ((c = nextc(p)) != '.') { if (!peek(p, '.')) {
pushback(p, c);
pushback(p, '.'); pushback(p, '.');
goto retry; goto retry;
} }
......
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