diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-20 06:07:39 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-20 06:07:39 +0000 |
| commit | b682d78ff592acdd857ac5f81c4a0efd75a3fa82 (patch) | |
| tree | f93da1503be892cd70770ebd5a5b9f4599ec72b3 /parse.y | |
| parent | 6274f42d79b8f50f7d2c6520459e4c4d61332804 (diff) | |
| download | ruby-b682d78ff592acdd857ac5f81c4a0efd75a3fa82.tar.gz ruby-b682d78ff592acdd857ac5f81c4a0efd75a3fa82.tar.xz ruby-b682d78ff592acdd857ac5f81c4a0efd75a3fa82.zip | |
* parse.y (mlhs_basic): fixed handling splat in middle of mlhs. a
patch from Andy Keep in [ruby-core:26163]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1436,7 +1436,8 @@ mlhs_basic : mlhs_head /*%%%*/ $$ = NEW_MASGN($1, NEW_POSTARG($3,$5)); /*% - $$ = mlhs_add_star($1, $3); + $1 = mlhs_add_star($1, $3); + $$ = mlhs_add($1, $5); %*/ } | mlhs_head tSTAR |
