diff options
| author | Carson McDonald <[email protected]> | 2013-08-03 14:42:22 -0400 |
|---|---|---|
| committer | Carson McDonald <[email protected]> | 2013-08-03 14:42:22 -0400 |
| commit | d2e38eab0ad419b949d339a576939d19062573b3 (patch) | |
| tree | 82d8d2ee7534026cd3ff86a8c3fc0600786e7e1a | |
| parent | ea814600c2291b446a0717568bc179d6354b0bd0 (diff) | |
| download | mruby-d2e38eab0ad419b949d339a576939d19062573b3.tar.gz mruby-d2e38eab0ad419b949d339a576939d19062573b3.zip | |
Set filename like irb
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c index 50556e092..ecb65eecc 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -275,6 +275,7 @@ main(int argc, char **argv) cxt = mrbc_context_new(mrb); cxt->capture_errors = 1; + mrbc_filename(mrb, cxt, "(mirb)"); if (args.verbose) cxt->dump_result = 1; ai = mrb_gc_arena_save(mrb); |
