summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-21 19:18:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-21 19:18:02 +0000
commit1478c28ae67001cf5817b8fd4fea9f168a0ba610 (patch)
tree99da4e63d12f9faa79b198b1bf469f7f8b44a1b9 /parse.y
parent2b992edf51a5a4674c89abd04a5e03ec9f502228 (diff)
* parse.y (aref_args): should pass expanded list. [ruby-core:02793]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 204b788c2f..b927a2c809 100644
--- a/parse.y
+++ b/parse.y
@@ -1228,7 +1228,7 @@ aref_args : none
| tSTAR arg opt_nl
{
value_expr($2);
- $$ = NEW_NEWLINE(NEW_SPLAT($2));
+ $$ = NEW_LIST(NEW_SPLAT($2));
}
;