summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1995-02-09 16:18:37 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:31 +0900
commitc080fb6d10bbcb697b6ba16e640de8db3f1973d0 (patch)
tree2df6299a382a47f1bed94ea2c8dedc64113d79c9 /eval.c
parent897cf066952978ccbae1d57bbc14a03c7b98a1e1 (diff)
version 0.66v0_66
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は例外処理だけでなく, 文括弧としても働くことになった.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 1e00de9..fa61e47 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;