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は例外処理だけでなく, 文括弧としても働くことになった. --- eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 1e00de909c..fa61e47250 100644 --- a/eval.c +++ b/eval.c @@ -788,7 +788,7 @@ rb_eval(node) } return result; - case NODE_PROT: + case NODE_BEGIN: PUSH_TAG(); switch (state = EXEC_TAG()) { case 0: @@ -1933,7 +1933,7 @@ rb_call(class, recv, mid, argc, argv, func) Fatal("unexpected redo"); break; case TAG_RETRY: - Fatal("retry outside of protect clause"); + Fatal("retry outside of resque clause"); break; case TAG_RETURN: result = last_val; -- cgit v1.2.3