summaryrefslogtreecommitdiff
path: root/lib/prism/translation/parser.rb
diff options
context:
space:
mode:
authorKoichi ITO <[email protected]>2024-12-25 18:53:55 +0900
committergit <[email protected]>2024-12-26 14:15:00 +0000
commitf459d8dfb7720a61d3f49af71fcd6bcf28bbca3f (patch)
treedb5f8cf24bdb36df06c393cb7c95d2fff441c909 /lib/prism/translation/parser.rb
parent9a5ad1b558172d894e6dba81e5f68c3628087b28 (diff)
[ruby/prism] Support Ruby 3.5 for `Prism::Translation::Parser`
Follow up https://github.com/ruby/prism/pull/3336. Development for Ruby 3.5 has begun on the master branch: https://github.com/ruby/ruby/commit/2f064b3b4b71f9495bbc4229e7efdbfad494862f https://github.com/ruby/prism/commit/aa49c1bd78
Diffstat (limited to 'lib/prism/translation/parser.rb')
-rw-r--r--lib/prism/translation/parser.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prism/translation/parser.rb b/lib/prism/translation/parser.rb
index 969f2b95b0..4f28afa86f 100644
--- a/lib/prism/translation/parser.rb
+++ b/lib/prism/translation/parser.rb
@@ -292,6 +292,8 @@ module Prism
"3.3.1"
when 34
"3.4.0"
+ when 35
+ "3.5.0"
else
"latest"
end