Wed Sep 26 19:02:39 2001 Guy Decoux <ts@moulon.inra.fr>

* parse.y: allow 'primary[] = arg'


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ts 2001-09-26 17:09:47 +00:00
parent 906d9cc83b
commit 810d9fcdbf
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Wed Sep 26 19:02:39 2001 Guy Decoux <ts@moulon.inra.fr>
* parse.y: allow 'primary[] = arg'
Tue Sep 25 10:46:42 2001 Usaku Nakamura <usa@ruby-lang.org>
* win32/win32.c (isInternalCmd): check return value of NtMakeCmdVector

View File

@ -717,7 +717,7 @@ arg : lhs '=' arg
{
NODE *args = NEW_LIST($6);
list_append($3, NEW_NIL());
$3 = list_append($3, NEW_NIL());
list_concat(args, $3);
if ($5 == tOROP) {
$5 = 0;