summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 6 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index fd26f5563c..291addf6c5 100644
--- a/parse.y
+++ b/parse.y
@@ -7763,9 +7763,15 @@ parser_yylex(struct parser_params *parser)
space_seen = 1;
break;
case '.': {
+#ifdef RIPPER
+ ripper_dispatch_delayed_token(parser, tIGNORED_NL);
+#endif
if ((c = nextc()) != '.') {
pushback(c);
pushback('.');
+#ifdef RIPPER
+ ripper_dispatch_scan_event(parser, tSP);
+#endif
goto retry;
}
}