diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-25 17:52:33 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-25 17:52:33 +0000 |
commit | 762a7ec12e1cd6cd59129eeb1ed42035157ded2a (patch) | |
tree | b237337c80e3f0368de1092ddf0ae1141fce9953 /compile.c | |
parent | ed4e57690c9cc782ab8675c4bf48153ce0a36896 (diff) | |
download | ruby-762a7ec12e1cd6cd59129eeb1ed42035157ded2a.tar.gz |
* compile.c (setup_arg): support kind of "m(*ary, x)" method call.
([ruby-dev:31048]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2430,6 +2430,7 @@ setup_arg(rb_iseq_t *iseq, LINK_ANCHOR *args, NODE *node, VALUE *flag) case NODE_SPLAT: { COMPILE(args, "args (splat)", argn->nd_head); argc = INT2FIX(1); + nsplat++; *flag |= VM_CALL_ARGS_SPLAT_BIT; break; } |