mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby command should not execute program on "syntax only option(-c)".
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user