From c080fb6d10bbcb697b6ba16e640de8db3f1973d0 Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Thu, 9 Feb 1995 16:18:37 +0900 Subject: version 0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.65-0.66.diff.gz Thu Feb 9 16:18:37 1995 Yukihiro Matsumoto (matz@ix-02) * version 0.66 * parse.y: protectをbeginに変更.begin..endは例外処理だけでなく, 文括弧としても働くことになった. --- sample/sieve.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample/sieve.rb') diff --git a/sample/sieve.rb b/sample/sieve.rb index eaf4e33e2c..640cc32b08 100644 --- a/sample/sieve.rb +++ b/sample/sieve.rb @@ -5,7 +5,7 @@ max = max.to_i print "1" for i in 2 .. max - protect + begin for d in sieve fail if i % d == 0 end -- cgit v1.2.3