diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-06-20 20:43:27 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-06-20 20:43:27 +0900 |
| commit | ef50e63a63c9b3759a2030816c9e2c5ec4e14cd0 (patch) | |
| tree | a7d80c195f7421ca6dd3ebd6e1526aae1c18f420 /src/vm.c | |
| parent | 6f22a61135fd077c1dcff2dec92ab215e3a83d79 (diff) | |
| download | mruby-ef50e63a63c9b3759a2030816c9e2c5ec4e14cd0.tar.gz mruby-ef50e63a63c9b3759a2030816c9e2c5ec4e14cd0.zip | |
remove RuntimeError from mrb_state
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1604,7 +1604,7 @@ mrb_run(mrb_state *mrb, struct RProc *proc, mrb_value self) CASE(OP_ERR) { /* Bx raise RuntimeError with message Lit(Bx) */ mrb_value msg = pool[GETARG_Bx(i)]; - mrb_value exc = mrb_exc_new3(mrb, mrb->eRuntimeError_class, msg); + mrb_value exc = mrb_exc_new3(mrb, E_RUNTIME_ERROR, msg); mrb->exc = (struct RObject*)mrb_object(exc); goto L_RAISE; |
