diff options
| author | fleuria <[email protected]> | 2013-11-03 12:05:25 +0800 |
|---|---|---|
| committer | fleuria <[email protected]> | 2013-11-03 12:05:25 +0800 |
| commit | a511957ec8f075d24d971987ebe2cf41ce332629 (patch) | |
| tree | b40c5f7da7c1dda166004ef5d02e387726ddf9e8 /mrbgems/mruby-bin-mirb | |
| parent | d75a907edf761b823d83aa658025de52508b8966 (diff) | |
| download | mruby-a511957ec8f075d24d971987ebe2cf41ce332629.tar.gz mruby-a511957ec8f075d24d971987ebe2cf41ce332629.zip | |
refactor mrb_context_run()
Diffstat (limited to 'mrbgems/mruby-bin-mirb')
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c index 5779104c2..b27654e0b 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -367,7 +367,7 @@ main(int argc, char **argv) result = mrb_context_run(mrb, /* pass a proc for evaulation */ mrb_proc_new(mrb, mrb->irep[n]), - mrb_top_self(mrb)); + mrb_top_self(mrb), 0); /* did an exception occur? */ if (mrb->exc) { p(mrb, mrb_obj_value(mrb->exc), 0); |
