зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
4a497026b6
Коммит
c7d9ba96cb
|
@ -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.
|
||||
|
|
1
eval.c
1
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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче