diff options
| author | dearblue <[email protected]> | 2021-01-10 10:36:03 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2021-01-10 13:23:35 +0900 |
| commit | 16baea06771f38fea810ad1eaf3239086442c258 (patch) | |
| tree | b186bc1a7f3468edcf645dd36282434c8f171fd2 /mrbgems/mruby-bin-mirb | |
| parent | 58e94427377952b0953bcdf2d544c62b0fefd4a6 (diff) | |
| download | mruby-16baea06771f38fea810ad1eaf3239086442c258.tar.gz mruby-16baea06771f38fea810ad1eaf3239086442c258.zip | |
Changes `stackent` to `stack` of `mrb_callinfo`
This enhances self-containment.
Previously `mrb_context::stack` had the current call level stack, but now it owns it.
The `mrb_context::stack` field, which is no longer needed, will be removed.
Diffstat (limited to 'mrbgems/mruby-bin-mirb')
| -rw-r--r-- | mrbgems/mruby-bin-mirb/tools/mirb/mirb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c index 12adfc4a6..c31c22bc9 100644 --- a/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c +++ b/mrbgems/mruby-bin-mirb/tools/mirb/mirb.c @@ -683,7 +683,7 @@ main(int argc, char **argv) } p(mrb, result, 1); #ifndef MRB_NO_MIRB_UNDERSCORE - *(mrb->c->stack + 1) = result; + *(mrb->c->ci->stack + 1) = result; #endif } } |
