summaryrefslogtreecommitdiffstats
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
commit39de04fdfef13ab2b9d8c0aaf600bc794d07b8c5 (patch)
treef89eb72077d3a727b727f70d9021c90e2ee8c96c
parent4adfd770e62aea26e36154b27fac95d50b3ab1d6 (diff)
downloadruby-39de04fdfef13ab2b9d8c0aaf600bc794d07b8c5.tar.gz
ruby-39de04fdfef13ab2b9d8c0aaf600bc794d07b8c5.tar.xz
ruby-39de04fdfef13ab2b9d8c0aaf600bc794d07b8c5.zip
* eval.c (proc_invoke): forgot "break";
git-svn-id: http://svn.ruby-lang.org/repos/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 5746d60d8..6f95f0fc9 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];