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

This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-06-15 10:02:49 +09:00
parent c1901539a8
commit d895c5fe5a
+1 -2
View File
@@ -4758,8 +4758,7 @@ parser_yylex(parser_state *p)
space_seen = 1;
break;
case '.':
if ((c = nextc(p)) != '.') {
pushback(p, c);
if (!peek(p, '.')) {
pushback(p, '.');
goto retry;
}