Commit 72bc9c8e authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #435 from masamitsu-murase/modify_mruby_filename

Modify argument of mrbc_filename.
parents 147aa040 213477df
......@@ -206,7 +206,7 @@ main(int argc, char **argv)
v = mrb_load_string_cxt(mrb, (char*)args.cmdline, c);
}
else {
mrbc_filename(mrb, c, argv[1]);
mrbc_filename(mrb, c, args.argv[0]);
v = mrb_load_file_cxt(mrb, args.rfp, c);
}
mrbc_context_free(mrb, c);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment