diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-08 07:10:50 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-08 07:10:50 +0000 |
| commit | 4944b54485044dcdd3c6307e58e14610c3df7741 (patch) | |
| tree | 57a9a5a6226794d1892bf07e50dafb5b0023517b | |
| parent | ce652c27ebeb727ae4f6316efd3ca288ed44dea1 (diff) | |
| download | ruby-4944b54485044dcdd3c6307e58e14610c3df7741.tar.gz ruby-4944b54485044dcdd3c6307e58e14610c3df7741.tar.xz ruby-4944b54485044dcdd3c6307e58e14610c3df7741.zip | |
* eval_jump.h: th->errinfo should clear with nil.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | eval_jump.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Fri Jun 8 16:11:00 2007 Koichi Sasada <ko1@atdot.net> + + * eval_jump.h: th->errinfo should clear with nil. + Fri Jun 8 14:53:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * parse.y (call_args): allow splat argument after unpacked diff --git a/eval_jump.h b/eval_jump.h index c3673114d..e281e420d 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(); |
