diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-01-07 22:36:29 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-01-07 22:36:29 +0900 |
| commit | f7afe1d82a6237879b3727135e244b420f9b61fa (patch) | |
| tree | d870ce5481e12bb8ebc5fe966c1302c78323f267 /mrbgems/mruby-compiler/core | |
| parent | 725b3ca5a74023947d10049eb54576163a781098 (diff) | |
| download | mruby-f7afe1d82a6237879b3727135e244b420f9b61fa.tar.gz mruby-f7afe1d82a6237879b3727135e244b420f9b61fa.zip | |
change mrb_run related API names; compatibility macros provided
Diffstat (limited to 'mrbgems/mruby-compiler/core')
| -rw-r--r-- | mrbgems/mruby-compiler/core/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index b08775cc7..301d1bf65 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -5634,7 +5634,7 @@ load_exec(mrb_state *mrb, parser_state *p, mrbc_context *c) if (mrb->c->ci) { mrb->c->ci->target_class = target; } - v = mrb_toplevel_run_keep(mrb, proc, keep); + v = mrb_top_run(mrb, proc, mrb_top_self(mrb), keep); if (mrb->exc) return mrb_nil_value(); return v; } |
