diff options
author | Kevin Newton <[email protected]> | 2023-10-13 12:16:11 -0400 |
---|---|---|
committer | Jemma Issroff <[email protected]> | 2023-10-16 15:40:19 -0700 |
commit | 5523a23469987f92e38d52d4332bde09bdd8896c () | |
tree | 01c4fcef6dea113e55ab1eedb59742a5ebad2b36 /lib/prism/ffi.rb | |
parent | 39dd3343d8672a70ebb0990c166d99a8b29ee19e (diff) |
[ruby/prism] Attach magic comments to the parse result
https://.com/ruby/prism/commit/c7ef25a79a
-rw-r--r-- | lib/prism/ffi.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -234,11 +234,11 @@ module Prism loader = Serialize::Loader.new(source, buffer.read) tokens = loader.load_tokens - node, comments, errors, warnings = loader.load_nodes tokens.each { |token,| token.value.force_encoding(loader.encoding) } - ParseResult.new([node, tokens], comments, errors, warnings, source) end end |