summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-27 23:13:20 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-27 23:13:20 +0000
commitc7d9ba96cb2d848d3931a2075378daa17b3d62a2 (patch)
tree73e15f1a9cab42098d4010570cb5b6f5046fffdc
parent4a497026b6270d6d7d066007e1a2a85b0490b554 (diff)
* eval.c (rb_eval): problem to handle else part. [ruby-dev:28873]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--eval.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1cf1b8987c..a1285dafe2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jun 28 08:08:13 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * eval.c (rb_eval): problem to handle else part. [ruby-dev:28873]
+
Wed Jun 28 01:48:23 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_eval): support splat in when expression list.
diff --git a/eval.c b/eval.c
index e9775fa308..94f38ee99f 100644
--- a/eval.c
+++ b/eval.c
@@ -2846,7 +2846,6 @@ rb_eval(VALUE self, NODE *n)
goto again;
case NODE_WHEN:
- node = node->nd_body;
while (node) {
if (nd_type(node) != NODE_WHEN) goto again;
EXEC_EVENT_HOOK(RUBY_EVENT_LINE, node->nd_head, self,