diff options
| author | take_cheeze <[email protected]> | 2014-03-22 03:19:58 +0900 |
|---|---|---|
| committer | take_cheeze <[email protected]> | 2014-03-22 03:19:58 +0900 |
| commit | f5364925211ec96f0097b661d071a61d169ba751 (patch) | |
| tree | 5a121f858f88c3ba0b7a0d271a97ec35c760d8fd | |
| parent | 7c82b9e1bfffa6b703dc2f4a161b01e37f9154bc (diff) | |
| download | mruby-f5364925211ec96f0097b661d071a61d169ba751.tar.gz mruby-f5364925211ec96f0097b661d071a61d169ba751.zip | |
use FiberError in vm.c
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1424,7 +1424,7 @@ RETRY_TRY_BLOCK: goto L_RAISE; } if (mrb->c->prev->ci == mrb->c->prev->cibase) { - mrb_value exc = mrb_exc_new_str_lit(mrb, E_RUNTIME_ERROR, "double resume"); + mrb_value exc = mrb_exc_new_str_lit(mrb, E_FIBER_ERROR, "double resume"); mrb->exc = mrb_obj_ptr(exc); goto L_RAISE; } |
