summaryrefslogtreecommitdiff
path: root/lib/prism/ffi.rb
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-09-20 11:20:04 -0400
committergit <[email protected]>2024-09-20 15:42:12 +0000
commitf515a1ab4b04ae79e02194e1f25a400b9f3f8f66 ()
treed7978590d7e37ca01b2cd296dda45207eec5ab5e /lib/prism/ffi.rb
parent2882408dcb2b30a2f0041d8712e75d614149c6d7 (diff)
[ruby/prism] Introduce partial_script option
https://.com/ruby/prism/commit/b28877fa4f
-rw-r--r--lib/prism/ffi.rb3
1 files changed, 3 insertions, 0 deletions
@@ -451,6 +451,9 @@ module Prism
template << "C"
values << (options.fetch(:main_script, false) ? 1 : 0)
template << "L"
if (scopes = options[:scopes])
values << scopes.length