diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-29 01:57:39 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-07-29 01:57:39 -0700 |
| commit | 0584874e59ed3601fa2809a1ab86ec0a5f076d5c (patch) | |
| tree | 2b577a9d8f227b143953282028ffde020f86e56a /src/error.c | |
| parent | fccd2d4cf0b5566b821824f7682e89e0b7a9f9ef (diff) | |
| parent | b2fc62f3a917e9ab1d562b49312f8d7dd2e057c5 (diff) | |
| download | mruby-0584874e59ed3601fa2809a1ab86ec0a5f076d5c.tar.gz mruby-0584874e59ed3601fa2809a1ab86ec0a5f076d5c.zip | |
Merge pull request #402 from monaka/pr-remove-commented-out-code
Remove commented out code.
Diffstat (limited to 'src/error.c')
| -rw-r--r-- | src/error.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/error.c b/src/error.c index 5bfbc4319..e71245509 100644 --- a/src/error.c +++ b/src/error.c @@ -29,7 +29,6 @@ mrb_exc_new3(mrb_state *mrb, struct RClass* c, mrb_value str) return mrb_funcall(mrb, mrb_obj_value(c), "new", 1, str); } -//mrb_value make_exception(mrb_state *mrb, int argc, mrb_value *argv, int isstr); /* * call-seq: * Exception.new(msg = nil) -> exception @@ -307,14 +306,6 @@ make_exception(mrb_state *mrb, int argc, mrb_value *argv, int isstr) case 3: n = 1; exception_call: - //if (argv[0] == sysstack_error) return argv[0]; - - //CONST_ID(mrb, exception, "exception"); - //mesg = mrb_check_funcall(mrb, argv[0], exception, n, argv+1); - //if (mrb_nil_p(mesg)) { - // /* undef */ - // mrb_raise(mrb, E_TYPE_ERROR, "exception class/object expected"); - //} if (mrb_respond_to(mrb, argv[0], mrb_intern(mrb, "exception"))) { mesg = mrb_funcall_argv(mrb, argv[0], "exception", n, argv+1); } |
