summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-06-21 18:24:26 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-06-21 18:24:26 +0900
commit45e04c996e101d39564ca5670be1f297281130f9 (patch)
tree1b4525eed77e672980d83d604f316e6a3d56b730 /include
parent9f25e3f3beac4b5fd3d01ea1adaad00e5d4e43f5 (diff)
downloadmruby-45e04c996e101d39564ca5670be1f297281130f9.tar.gz
mruby-45e04c996e101d39564ca5670be1f297281130f9.zip
clear local variables for the first execution of mrb_context_run(); close #2405
Diffstat (limited to 'include')
-rw-r--r--include/mruby/compile.h1
1 files changed, 1 insertions, 0 deletions
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);