From 45e04c996e101d39564ca5670be1f297281130f9 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 21 Jun 2014 18:24:26 +0900 Subject: clear local variables for the first execution of mrb_context_run(); close #2405 --- include/mruby/compile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/mruby/compile.h b/include/mruby/compile.h index 7f896e1fd..188df315d 100644 --- a/include/mruby/compile.h +++ b/include/mruby/compile.h @@ -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); -- cgit v1.2.3