diff --git a/lib/prism/translation/parser/lexer.rb b/lib/prism/translation/parser/lexer.rb index 8bb308457707be..590adef323cd46 100644 --- a/lib/prism/translation/parser/lexer.rb +++ b/lib/prism/translation/parser/lexer.rb @@ -167,7 +167,7 @@ class Lexer 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 118b7322fee050..061e4b85c5e96e 100644 --- a/test/prism/parser_test.rb +++ b/test/prism/parser_test.rb @@ -73,7 +73,6 @@ class ParserTest < TestCase 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",