summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-21 17:15:53 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-21 17:15:53 +0000
commit25e0ff2e4b2df5365c760e1036df8c8a65d54e7f (patch)
treef89eb72077d3a727b727f70d9021c90e2ee8c96c
parent47b57348e6d85926d8da91b2136b22f0a079388a (diff)
* eval.c (proc_invoke): forgot "break";
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 5746d60..6f95f0f 100644
--- a/eval.c
+++ b/eval.c
@@ -6993,6 +6993,7 @@ proc_invoke(proc, args, self, klass)
case TAG_RETURN:
if (pcall) {
result = prot_tag->retval;
+ break;
}
else if (orphan) { /* orphan block */
char mesg[32];