Revert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a4e85a53e5
commit
657b626899
5
eval.c
5
eval.c
@ -2877,10 +2877,9 @@ rb_eval(VALUE self, NODE *n)
|
||||
|
||||
case NODE_CASE:
|
||||
{
|
||||
VALUE val = Qundef;
|
||||
VALUE val;
|
||||
|
||||
if (node->nd_head)
|
||||
val = rb_eval(self, node->nd_head);
|
||||
val = rb_eval(self, node->nd_head);
|
||||
node = node->nd_body;
|
||||
while (node) {
|
||||
if (nd_type(node) != NODE_WHEN) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user