mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fixed wrong behavior on .. at the beginning of the line.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user