diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-07-14 07:38:43 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-07-14 07:38:43 +0900 |
| commit | e3806922245c15ff9417ca4513c9052ebfa40021 (patch) | |
| tree | 9160d9077dba3e15a024ad5bb1d5198dfc9edaf0 /tools | |
| parent | 8e1c842b7e17ecb58e25e48e0cac253bceb00f14 (diff) | |
| download | mruby-e3806922245c15ff9417ca4513c9052ebfa40021.tar.gz mruby-e3806922245c15ff9417ca4513c9052ebfa40021.zip | |
mrb_load_xxx to return undef + mrb_undef_p
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/mrbc/mrbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mrbc/mrbc.c b/tools/mrbc/mrbc.c index a70353d63..a121eaa0e 100644 --- a/tools/mrbc/mrbc.c +++ b/tools/mrbc/mrbc.c @@ -179,7 +179,7 @@ main(int argc, char **argv) c->dump_result = 1; c->no_exec = 1; result = mrb_load_file_cxt(mrb, args.rfp, c); - if (mrb_nil_p(result)) { + if (mrb_undef_p(result)) { cleanup(&args); mrb_close(mrb); return -1; |
