From 3a6860058ef4990c519dd21ba67e422010cbcbe1 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 8 Jun 2007 07:10:50 +0000 Subject: * eval_jump.h: th->errinfo should clear with nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval_jump.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval_jump.h') diff --git a/eval_jump.h b/eval_jump.h index c3673114da..e281e420db 100644 --- a/eval_jump.h +++ b/eval_jump.h @@ -106,7 +106,7 @@ rb_f_catch(VALUE dmy, VALUE tag) } else if (state == TAG_THROW && th->errinfo == tag) { val = th->tag->retval; - th->errinfo = 0; + th->errinfo = Qnil; state = 0; } POP_TAG(); -- cgit v1.2.3