From 860b40fd631f280fbc9164abdc36409dcfac7e27 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 19 Dec 2007 08:46:49 +0000 Subject: * compile.c (iseq_compile_each): remove "retry" in block. ("iter{retry}" cause syntax error) Currently, "begin; ...; rescue; iter{retry}; end" cause syntax error too. * bootstraptest/test_jump.rb: ditto. * lib/drb/invokemethod.rb: ditto. * sample/drb/darrayc.rb: ditto. * sample/test.rb: ditto. * test/drb/drbtest.rb: ditto. * test/ruby/test_iterator.rb: ditto. * sample/test.rb: add a 'test' directory on the SYSTEM test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/drb/darrayc.rb | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'sample/drb/darrayc.rb') diff --git a/sample/drb/darrayc.rb b/sample/drb/darrayc.rb index 6f5ff6bb5d..b181d22699 100644 --- a/sample/drb/darrayc.rb +++ b/sample/drb/darrayc.rb @@ -45,15 +45,3 @@ ro.each do |x| puts count redo if count == 3 end - -puts "# each, retry" -retried = false -ro.each do |x| - puts x - if x == 4 && !retried - puts 'retry' - retried = true - retry - end -end - -- cgit v1.2.3