summaryrefslogtreecommitdiff
path: root/eval_jump.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-08 07:10:50 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-08 07:10:50 +0000
commit3a6860058ef4990c519dd21ba67e422010cbcbe1 (patch)
tree57a9a5a6226794d1892bf07e50dafb5b0023517b /eval_jump.h
parentbfe90639909626c30a81e8fcee209e341b57d3e2 (diff)
* 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
Diffstat (limited to 'eval_jump.h')
-rw-r--r--eval_jump.h2
1 files changed, 1 insertions, 1 deletions
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();