diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-15 14:50:38 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-01-15 14:50:38 -0800 |
| commit | d1656d4371e06259191045409701208ee00bdeb6 (patch) | |
| tree | aa185969718867f8f9a06b157a18554895b4761d | |
| parent | 709c120d14959e40155a5a892fe3e51e60966f9b (diff) | |
| parent | b4255c70a1b77a7b169cb658ece7c72331a9c99d (diff) | |
| download | mruby-d1656d4371e06259191045409701208ee00bdeb6.tar.gz mruby-d1656d4371e06259191045409701208ee00bdeb6.zip | |
Merge pull request #732 from masamitsu-murase/remove_multiple_definition_of_RuntimeError
Remove multiple definition of RuntimeError.
| -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 */ } |
