summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-01 09:02:43 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-01 09:02:43 +0000
commitb6feeb2945307a655c1a79b3ee61eafc89a7b09b (patch)
treeee24f6425491973c2cc2add0a3ef78c8ac6a52bf /parse.y
parent531310d20e39a0b9dea424dff6fc6640f4e9ab91 (diff)
* parse.y (aref_args): forgot to call NEW_SPLAT(). reported by
Dave Butcher. * eval.c (Init_Thread): protect thgroup_default. suggested by Guy Decoux in [ruby-talk:80623] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4474 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 5fd8fcc8c5..917a92b7ef 100644
--- a/parse.y
+++ b/parse.y
@@ -1225,7 +1225,7 @@ aref_args : none
| tSTAR arg opt_nl
{
value_expr($2);
- $$ = NEW_BEGIN($2);
+ $$ = NEW_NEWLINE(NEW_SPLAT($2));
}
;