`c` (`mrbc_context`) may be NULL; fix
MODIFY
mrbgems/mruby-compiler/core/parse.y
mrbgems/mruby-compiler/core/parse.y
@@ -5775,7 +5775,7 @@ mrb_load_exec(mrb_state *mrb, struct mrb_parser_state *p, mrbc_context *c)
return mrb_undef_value();
}
if (!p->tree || p->nerr) {
- c->parser_nerr = p->nerr;
+ if (c) c->parser_nerr = p->nerr;
if (p->capture_errors) {
char buf[256];
int n;

`c` (`mrbc_context`) may be NULL; fix #3787