summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-08-29 14:26:08 -0400
committerKevin Newton <[email protected]>2024-08-29 20:27:01 -0400
commit371432b2d7a5f4a21876434047192e680a688780 (patch)
tree49f8664abca10899bf63cf9d67718aa960ceb92b /vm_eval.c
parent554098303dd70adbe611eac5507277560bfa299a (diff)
[PRISM] Handle RubyVM.keep_script_lines
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11501
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index f0fa4521df..9834b7ff9e 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1719,7 +1719,7 @@ pm_eval_make_iseq(VALUE src, VALUE fname, int line,
// Add our empty local scope at the very end of the array for our eval
// scope's locals.
pm_options_scope_init(&result.options.scopes[scopes_count], 0);
- VALUE error = pm_parse_string(&result, src, fname);
+ VALUE error = pm_parse_string(&result, src, fname, NULL);
// If the parse failed, clean up and raise.
if (error != Qnil) {