Commit 23cb0bb6 authored by Tatsuya Matsumoto's avatar Tatsuya Matsumoto

mruby command should not execute program on "syntax only option(-c)".

parent ba608fb3
......@@ -201,7 +201,7 @@ main(int argc, char **argv)
if (args.verbose)
c->dump_result = TRUE;
if (args.check_syntax)
c->no_exec = FALSE;
c->no_exec = TRUE;
if (args.mrbfile) {
v = mrb_load_irep_file_cxt(mrb, args.rfp, 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