diff options
author | Kevin Newton <[email protected]> | 2024-04-19 14:53:39 -0400 |
---|---|---|
committer | git <[email protected]> | 2024-04-19 19:25:32 +0000 |
commit | 23be6599a20a0fd6bbf650816d163f9adfb82009 (patch) | |
tree | 2735cd0c7bca0e9f0c7f80f8f6d339d181adc625 /lib/prism/ffi.rb | |
parent | cb711df36f36c847b035bbd5326c217eabc5c8b3 (diff) |
[ruby/prism] Split parse result based on type
https://github.com/ruby/prism/commit/17194e096d
Diffstat (limited to 'lib/prism/ffi.rb')
-rw-r--r-- | lib/prism/ffi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prism/ffi.rb b/lib/prism/ffi.rb index 1fd053f902..2014ccea31 100644 --- a/lib/prism/ffi.rb +++ b/lib/prism/ffi.rb @@ -350,7 +350,7 @@ module Prism node, comments, magic_comments, data_loc, errors, warnings = loader.load_nodes tokens.each { |token,| token.value.force_encoding(loader.encoding) } - ParseResult.new([node, tokens], comments, magic_comments, data_loc, errors, warnings, source) + ParseLexResult.new([node, tokens], comments, magic_comments, data_loc, errors, warnings, source) end end |