Update `y.tab.c`; ref #4933

parent c27e4519
...@@ -12173,6 +12173,16 @@ mrbc_partial_hook(mrb_state *mrb, mrbc_context *c, int (*func)(struct mrb_parser ...@@ -12173,6 +12173,16 @@ mrbc_partial_hook(mrb_state *mrb, mrbc_context *c, int (*func)(struct mrb_parser
c->partial_data = data; c->partial_data = data;
} }
MRB_API void
mrbc_cleanup_local_variables(mrb_state *mrb, mrbc_context *c)
{
if (c->syms) {
mrb_free(mrb, c->syms);
c->syms = NULL;
c->slen = 0;
}
}
MRB_API void MRB_API void
mrb_parser_set_filename(struct mrb_parser_state *p, const char *f) mrb_parser_set_filename(struct mrb_parser_state *p, const char *f)
{ {
......
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