Fix `mirb` not to be terminated by `codegen error`.

parent 7c9d9b1c
......@@ -650,9 +650,8 @@ main(int argc, char **argv)
/* generate bytecode */
struct RProc *proc = mrb_generate_code(mrb, parser);
if (proc == NULL) {
fputs("codegen error\n", stderr);
mrb_parser_free(parser);
break;
continue;
}
if (args.verbose) {
......
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