summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/prism/translation/parser/lexer.rb2
-rw-r--r--test/prism/parser_test.rb1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/prism/translation/parser/lexer.rb b/lib/prism/translation/parser/lexer.rb
index 8bb3084577..590adef323 100644
--- a/lib/prism/translation/parser/lexer.rb
+++ b/lib/prism/translation/parser/lexer.rb
@@ -167,7 +167,7 @@ module Prism
TILDE: :tTILDE,
UAMPERSAND: :tAMPER,
UCOLON_COLON: :tCOLON3,
- UDOT_DOT: :tDOT2,
+ UDOT_DOT: :tBDOT2,
UDOT_DOT_DOT: :tBDOT3,
UMINUS: :tUMINUS,
UMINUS_NUM: :tUNARY_NUM,
diff --git a/test/prism/parser_test.rb b/test/prism/parser_test.rb
index 118b7322fe..061e4b85c5 100644
--- a/test/prism/parser_test.rb
+++ b/test/prism/parser_test.rb
@@ -73,7 +73,6 @@ module Prism
skip_tokens = [
"comments.txt",
"constants.txt",
- "endless_range_in_conditional.txt",
"heredoc_with_comment.txt",
"heredoc_with_escaped_newline_at_start.txt",
"heredocs_leading_whitespace.txt",