diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-30 01:33:02 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-30 01:33:02 +0900 |
| commit | dbd36128ad652c743ecb9331f7c4b9ba4a9fb933 (patch) | |
| tree | 34db628105703cced8a2be676dfc98939bbdf9f8 /include | |
| parent | 961cd408a86580c4d428f56153da00fd46738e35 (diff) | |
| download | mruby-dbd36128ad652c743ecb9331f7c4b9ba4a9fb933.tar.gz mruby-dbd36128ad652c743ecb9331f7c4b9ba4a9fb933.zip | |
forget to re-initialize target_class for top-level eval; close #1418
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/compile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/compile.h b/include/mruby/compile.h index c1c646508..7c5884e58 100644 --- a/include/mruby/compile.h +++ b/include/mruby/compile.h @@ -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; |
