diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-01 17:36:23 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-01 19:17:48 +0900 |
| commit | 7ff90b52d82dc339d9750a0a4e3e8c0bdf8e2c8e (patch) | |
| tree | 26abfe84d318b8622b666c4dbe31efa18310a235 /include/mruby.h | |
| parent | 72b635f7d23d8ce8c949b170d2975459a9f54250 (diff) | |
| download | mruby-7ff90b52d82dc339d9750a0a4e3e8c0bdf8e2c8e.tar.gz mruby-7ff90b52d82dc339d9750a0a4e3e8c0bdf8e2c8e.zip | |
Simplify ensure stack management; fix #3683
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby.h b/include/mruby.h index 29e8ddc79..bd824ea91 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -113,7 +113,7 @@ typedef struct { mrb_value *stackent; int nregs; int ridx; - int eidx; + int epos; struct REnv *env; mrb_code *pc; /* return address */ mrb_code *err; /* error position */ @@ -143,7 +143,7 @@ struct mrb_context { mrb_code **rescue; /* exception handler stack */ int rsize; struct RProc **ensure; /* ensure handler stack */ - int esize; + int esize, eidx; enum mrb_fiber_state status; mrb_bool vmexec; |
