mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c5077a2c72
commit
a74dbca686
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Jul 5 18:44:12 2007 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* parse.y (mlhs_basic): use mlhs_post after tSTAR.
|
||||||
|
[ruby-dev:31109]
|
||||||
|
|
||||||
Thu Jul 5 18:27:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Jul 5 18:27:58 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c,
|
* include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c,
|
||||||
|
|
2
parse.y
2
parse.y
|
@ -1411,7 +1411,7 @@ mlhs_basic : mlhs_head
|
||||||
$$ = mlhs_add_star(mlhs_new(), Qnil);
|
$$ = mlhs_add_star(mlhs_new(), Qnil);
|
||||||
%*/
|
%*/
|
||||||
}
|
}
|
||||||
| tSTAR ',' mlhs_head
|
| tSTAR ',' mlhs_post
|
||||||
{
|
{
|
||||||
/*%%%*/
|
/*%%%*/
|
||||||
$$ = NEW_MASGN(0, NEW_POSTARG(-1,$3));
|
$$ = NEW_MASGN(0, NEW_POSTARG(-1,$3));
|
||||||
|
|
Loading…
Reference in a new issue