From a74dbca6863a41bd948961944d1c6b19e01070c7 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 5 Jul 2007 09:45:27 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ parse.y | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e5343dd858..d016a08cb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 5 18:44:12 2007 Tanaka Akira + + * parse.y (mlhs_basic): use mlhs_post after tSTAR. + [ruby-dev:31109] + Thu Jul 5 18:27:58 2007 Nobuyoshi Nakada * include/ruby/{intern,ruby}.h, compile.[ch], error.c, eval.c, diff --git a/parse.y b/parse.y index deb86f5d07..bddd5494c0 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));