From b6feeb2945307a655c1a79b3ee61eafc89a7b09b Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 1 Sep 2003 09:02:43 +0000 Subject: * 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 --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.y') 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)); } ; -- cgit v1.2.3