aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-05 09:45:27 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-05 09:45:27 +0000
commita74dbca6863a41bd948961944d1c6b19e01070c7 (patch)
tree863508c5de9b925c4c4565851d288b8a435dc0cd /parse.y
parentc5077a2c72a75d7e8f3486be7a81f52de90db6f0 (diff)
downloadruby-a74dbca6863a41bd948961944d1c6b19e01070c7.tar.gz
* parse.y (mlhs_basic): use mlhs_post after tSTAR.
[ruby-dev:31109] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12702 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 deb86f5d07..bddd5494c0 100644
--- a/parse.y
+++ b/parse.y
@@ -1411,7 +1411,7 @@ mlhs_basic : mlhs_head
$$ = mlhs_add_star(mlhs_new(), Qnil);
%*/
}
- | tSTAR ',' mlhs_head
+ | tSTAR ',' mlhs_post
{
/*%%%*/
$$ = NEW_MASGN(0, NEW_POSTARG(-1,$3));