Skip to content

Commit

Permalink
[ruby/prism] Fix up backtick events on ripper translation
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton authored and matzbot committed Mar 6, 2024
1 parent 6539258 commit 434e7bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/prism/translation/ripper.rb
Expand Up @@ -2559,6 +2559,8 @@ def visit_token(token)
case token
when "."
on_period(token)
when "`"
on_backtick(token)
when *RUBY_KEYWORDS
on_kw(token)
when /^_/
Expand Down
1 change: 0 additions & 1 deletion test/prism/ripper_test.rb
Expand Up @@ -30,7 +30,6 @@ class RipperTest < TestCase
methods.txt
modules.txt
multi_write.txt
non_alphanumeric_methods.txt
patterns.txt
regex.txt
regex_char_width.txt
Expand Down

0 comments on commit 434e7bc

Please sign in to comment.