mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
bfe9063990
commit
3a6860058e
2 changed files with 5 additions and 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>
|
Fri Jun 8 14:53:28 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (call_args): allow splat argument after unpacked
|
* parse.y (call_args): allow splat argument after unpacked
|
||||||
|
|
|
@ -106,7 +106,7 @@ rb_f_catch(VALUE dmy, VALUE tag)
|
||||||
}
|
}
|
||||||
else if (state == TAG_THROW && th->errinfo == tag) {
|
else if (state == TAG_THROW && th->errinfo == tag) {
|
||||||
val = th->tag->retval;
|
val = th->tag->retval;
|
||||||
th->errinfo = 0;
|
th->errinfo = Qnil;
|
||||||
state = 0;
|
state = 0;
|
||||||
}
|
}
|
||||||
POP_TAG();
|
POP_TAG();
|
||||||
|
|
Loading…
Add table
Reference in a new issue