diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-31 05:29:54 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-08-31 05:29:54 +0000 |
commit | 9a51fecc55dca8f4feb0b558c048532d5f5b1f3e (patch) | |
tree | 0ed5e86f76f9adff8eb848d6be67500adb86edd2 /compar.c | |
parent | 4e2edd1992f7dc775e430547cc4cec28f2bd1035 (diff) | |
download | ruby-9a51fecc55dca8f4feb0b558c048532d5f5b1f3e.tar.gz ruby-9a51fecc55dca8f4feb0b558c048532d5f5b1f3e.tar.xz ruby-9a51fecc55dca8f4feb0b558c048532d5f5b1f3e.zip |
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compar.c')
-rw-r--r-- | compar.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -37,7 +37,8 @@ static VALUE cmp_eq2(a) VALUE *a; { - return rb_rescue(cmp_eq, (VALUE)a, cmp_failed, 0); + return rb_rescue2(cmp_eq, (VALUE)a, cmp_failed, 0, + rb_eStandardError, rb_eNameError, 0); } static VALUE @@ -49,7 +50,7 @@ cmp_equal(x, y) if (x == y) return Qtrue; a[0] = x; a[1] = y; - return rb_rescue2(cmp_eq2, (VALUE)a, rb_eScriptError, cmp_failed, 0); + return rb_rescue2(cmp_eq2, (VALUE)a, cmp_failed, 0, rb_eScriptError, 0); } static VALUE |