summaryrefslogtreecommitdiffstats
path: root/ext/stringio/stringio.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-20 06:09:04 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-20 06:09:04 +0000
commitdd43e80ac6ee876087ef549d1054816e8efcbd36 (patch)
tree0cac4f41600fea2216a20bcfc3ce0a256f462b83 /ext/stringio/stringio.c
parent1bdb42d3a65d7fb300b7580013c223d3683bcc12 (diff)
downloadruby-dd43e80ac6ee876087ef549d1054816e8efcbd36.tar.gz
ruby-dd43e80ac6ee876087ef549d1054816e8efcbd36.tar.xz
ruby-dd43e80ac6ee876087ef549d1054816e8efcbd36.zip
* eval.c (proc_invoke): intercept break and return from lambda
Proc objects. [ruby-dev:28742] * eval.c (proc_invoke): remove unnecessary YIELD_PROC_CALL flag. * eval.c (YIELD_EXACT_ARGS): renamed from YIELD_LAMBDA_CALL, which is no longer related to the behavior turned on by this flag. * eval.c (return_jump): no need to care about PROT_YIELD. * eval.c (break_jump): no jump to toplevel PROT_TREAD tag. * eval.c (rb_yield_0): fix confusion between lambda (which is a property of a proc) and pcall (which depends on whether it's called via yield or call). * eval.c (rb_thread_yield): no need to specify YIELD_LAMBDA_CALL. * eval.c (rb_block_pass): update blkid in prot_tag. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio/stringio.c')
0 files changed, 0 insertions, 0 deletions