mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c (rb_thread_yield, rb_f_catch): 4th argument to rb_yield_0()
is a set of bit flags. [ruby-dev:23859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bc9d396610
commit
4f46d8a69a
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Mon Jul 5 09:02:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* eval.c (rb_thread_yield, rb_f_catch): 4th argument to rb_yield_0()
|
||||||
|
is a set of bit flags. [ruby-dev:23859]
|
||||||
|
|
||||||
Mon Jul 5 01:20:17 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
Mon Jul 5 01:20:17 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||||
|
|
||||||
* lib/drb/drb.rb(DRbConn self.open): If socket pool is full, close
|
* lib/drb/drb.rb(DRbConn self.open): If socket pool is full, close
|
||||||
|
@ -94,7 +99,7 @@ Sat Jul 3 22:25:27 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
|
||||||
|
|
||||||
* map Ruby's anonymous Struct to common SOAP Struct in SOAP Object
|
* map Ruby's anonymous Struct to common SOAP Struct in SOAP Object
|
||||||
Model. it caused error.
|
Model. it caused error.
|
||||||
|
|
||||||
* add WSDL simpleType support to restrict lexical value space.
|
* add WSDL simpleType support to restrict lexical value space.
|
||||||
|
|
||||||
Sat Jul 3 17:19:44 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
Sat Jul 3 17:19:44 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
4
eval.c
4
eval.c
|
@ -11470,7 +11470,7 @@ rb_thread_yield(arg, th)
|
||||||
rb_dvar_push('~', Qnil);
|
rb_dvar_push('~', Qnil);
|
||||||
ruby_block->dyna_vars = ruby_dyna_vars;
|
ruby_block->dyna_vars = ruby_dyna_vars;
|
||||||
|
|
||||||
return rb_yield_0(arg, 0, 0, Qtrue, Qtrue);
|
return rb_yield_0(arg, 0, 0, YIELD_LAMBDA_CALL, Qtrue);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -12513,7 +12513,7 @@ rb_f_catch(dmy, tag)
|
||||||
tag = ID2SYM(rb_to_id(tag));
|
tag = ID2SYM(rb_to_id(tag));
|
||||||
PUSH_TAG(tag);
|
PUSH_TAG(tag);
|
||||||
if ((state = EXEC_TAG()) == 0) {
|
if ((state = EXEC_TAG()) == 0) {
|
||||||
val = rb_yield_0(tag, 0, 0, Qfalse, Qfalse);
|
val = rb_yield_0(tag, 0, 0, 0, Qfalse);
|
||||||
}
|
}
|
||||||
else if (state == TAG_THROW && tag == prot_tag->dst) {
|
else if (state == TAG_THROW && tag == prot_tag->dst) {
|
||||||
val = prot_tag->retval;
|
val = prot_tag->retval;
|
||||||
|
|
Loading…
Reference in a new issue