1
0
Fork 0
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:
akr 2007-07-05 09:45:27 +00:00
parent c5077a2c72
commit a74dbca686
2 changed files with 6 additions and 1 deletions

View file

@ -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,

View file

@ -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));