Skip to content

Commit e418265

Browse files
authored
Merge pull request #2771 from koic/use_3_3_3_against_translation_parser
2 parents 926c2bc + efde09d commit e418265

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/prism/ffi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def dump_options(options)
408408
values << dump_options_command_line(options)
409409

410410
template << "C"
411-
values << { nil => 0, "3.3.0" => 1, "3.4.0" => 0, "latest" => 0 }.fetch(options[:version])
411+
values << { nil => 0, "3.3.0" => 1, "3.3.1" => 1, "3.4.0" => 0, "latest" => 0 }.fetch(options[:version])
412412

413413
template << "L"
414414
if (scopes = options[:scopes])

lib/prism/translation/parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def build_range(location, offset_cache)
284284
def convert_for_prism(version)
285285
case version
286286
when 33
287-
"3.3.0"
287+
"3.3.1"
288288
when 34
289289
"3.4.0"
290290
else

0 commit comments

Comments
 (0)