diff options
| author | Masamitsu MURASE <[email protected]> | 2013-01-14 18:26:39 +0900 |
|---|---|---|
| committer | Masamitsu MURASE <[email protected]> | 2013-01-14 18:26:39 +0900 |
| commit | b4255c70a1b77a7b169cb658ece7c72331a9c99d (patch) | |
| tree | b19617657e1769cfbcefc8e444726d50ae64195f /src | |
| parent | 315ecb60cda1b26cc67114e3afb116f6f39ecfab (diff) | |
| download | mruby-b4255c70a1b77a7b169cb658ece7c72331a9c99d.tar.gz mruby-b4255c70a1b77a7b169cb658ece7c72331a9c99d.zip | |
Remove multiple definition of RuntimeError.
Diffstat (limited to 'src')
| -rw-r--r-- | src/error.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/error.c b/src/error.c index 430728db0..b9e5690a8 100644 --- a/src/error.c +++ b/src/error.c @@ -419,8 +419,6 @@ mrb_init_exception(mrb_state *mrb) mrb->eStandardError_class = mrb_define_class(mrb, "StandardError", mrb->eException_class); /* 15.2.23 */ mrb_define_class(mrb, "RuntimeError", mrb->eStandardError_class); /* 15.2.28 */ - - mrb_define_class(mrb, "RuntimeError", mrb->eStandardError_class); /* 15.2.28 */ e = mrb_define_class(mrb, "ScriptError", mrb->eException_class); /* 15.2.37 */ mrb_define_class(mrb, "SyntaxError", e); /* 15.2.38 */ } |
