Skip to content

Commit

Permalink
fixed handling splat in middle of mlhs for ripper
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Jan 11, 2012
1 parent 6a0f4dd commit 4e5b142
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parse.y
Expand Up @@ -1415,7 +1415,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
Expand Down

0 comments on commit 4e5b142

Please sign in to comment.