summaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-16 15:24:15 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-08-16 15:24:15 +0000
commit40fbb7a6d9c915466fb222df4b7fc395cbfccf00 (patch)
treeb85cb6965607683d81965135886dbff708911b3c /test/ruby
parent555e843c3163b40e5fa5d39ac98be8ff2fc7dee7 (diff)
downloadruby-40fbb7a6d9c915466fb222df4b7fc395cbfccf00.tar.gz
ruby-40fbb7a6d9c915466fb222df4b7fc395cbfccf00.tar.xz
ruby-40fbb7a6d9c915466fb222df4b7fc395cbfccf00.zip
* eval.c (rb_add_method): preserve safe level in the environment
where a method is defined . * eval.c (rb_call0): restore preserved safe level in the method execution. * parse.y (lambda): need separate block variable stack manipulation and lpar_beg maintenance. based on a patch found in [ruby-core:05551] from Mauricio Fernandez <mfp@acm.org>. * parse.y (parser_yylex): adjust lpar_beg after tLAMBEG and kDO_LAMBDA. [ruby-core:05551] * parse.y (yycompile): remove unreachable code. [yarv-dev:570] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions