should not over process ensure clauses; close #1949

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-03-26 17:49:27 +09:00
parent 306b1d3c51
commit 28871b9d1f
+2
View File
@@ -2282,6 +2282,8 @@ mrb_toplevel_run(mrb_state *mrb, struct RProc *proc)
}
ci = cipush(mrb);
ci->acc = CI_ACC_SKIP;
ci->eidx = 0;
ci->ridx = 0;
v = mrb_context_run(mrb, proc, mrb_top_self(mrb), 0);
cipop(mrb);