Commit 13d9ed45 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1802 from tmash06/fix_syntax_check_no_exec

mruby command should not execute program on "syntax only option(-c)".
parents 1742e744 23cb0bb6
......@@ -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