From 762a7ec12e1cd6cd59129eeb1ed42035157ded2a Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 25 Jun 2007 17:52:33 +0000 Subject: * 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 --- compile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 5d4ed1b785..92c7611f2e 100644 --- a/compile.c +++ b/compile.c @@ -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; } -- cgit v1.2.3