diff options
author | Kevin Newton <[email protected]> | 2024-08-29 14:26:08 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-08-29 20:27:01 -0400 |
commit | 371432b2d7a5f4a21876434047192e680a688780 (patch) | |
tree | 49f8664abca10899bf63cf9d67718aa960ceb92b /vm_eval.c | |
parent | 554098303dd70adbe611eac5507277560bfa299a (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |