clear local variables for the first execution of mrb_context_run(); close #2405

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-06-21 18:24:26 +09:00
parent 9f25e3f3be
commit 45e04c996e
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -28,6 +28,7 @@ typedef struct mrbc_context {
mrb_bool capture_errors:1;
mrb_bool dump_result:1;
mrb_bool no_exec:1;
mrb_bool keep_lv:1;
} mrbc_context;
mrbc_context* mrbc_context_new(mrb_state *mrb);