mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
forget to re-initialize target_class for top-level eval; close #1418
This commit is contained in:
@@ -23,6 +23,7 @@ typedef struct mrbc_context {
|
||||
short lineno;
|
||||
int (*partial_hook)(struct mrb_parser_state*);
|
||||
void *partial_data;
|
||||
struct RClass *target_class;
|
||||
mrb_bool capture_errors:1;
|
||||
mrb_bool dump_result:1;
|
||||
mrb_bool no_exec:1;
|
||||
|
||||
Reference in New Issue
Block a user