`c` (`mrbc_context`) may be NULL; fix
@@ -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;
