summaryrefslogtreecommitdiffstats
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
commit7712d2b868a439c3c4215e0e320fbab8b605a86d (patch)
tree863508c5de9b925c4c4565851d288b8a435dc0cd /parse.y
parentea362e39f8538c8a426e1b8ceef591deffcf67c0 (diff)
downloadruby-7712d2b868a439c3c4215e0e320fbab8b605a86d.tar.gz
ruby-7712d2b868a439c3c4215e0e320fbab8b605a86d.tar.xz
ruby-7712d2b868a439c3c4215e0e320fbab8b605a86d.zip
* parse.y (mlhs_basic): use mlhs_post after tSTAR.
[ruby-dev:31109] git-svn-id: http://svn.ruby-lang.org/repos/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 deb86f5d0..bddd5494c 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));