summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
-rw-r--r--load.c9
1 files changed, 8 insertions, 1 deletions
@@ -752,8 +752,15 @@ load_iseq_eval(rb_execution_context_t *ec, VALUE fname)
VALUE error = pm_load_parse_file(&result, fname, NULL);
if (error == Qnil) {
- iseq = pm_iseq_new_top(&result.node, rb_fstring_lit("<top (required)>"), fname, realpath_internal_cached(realpath_map, fname), NULL);
pm_parse_result_free(&result);
}
else {
rb_vm_pop_frame(ec);