Array ArrayDimFetch tests

This commit is contained in:
z7zmey
2018-02-10 11:07:20 +02:00
parent eb78ca8b3a
commit f1be64b918
4 changed files with 166 additions and 2 deletions

View File

@@ -6284,7 +6284,7 @@ yydefault:
yyDollar = yyS[yypt-0 : yypt+1]
//line php5/php5.y:3442
{
yyVAL.list = nil
yyVAL.list = []node.Node{}
}
case 480:
yyDollar = yyS[yypt-2 : yypt+1]

View File

@@ -3440,7 +3440,7 @@ assignment_list_element:
array_pair_list:
/* empty */
{ $$ = nil }
{ $$ = []node.Node{} }
| non_empty_array_pair_list possible_comma
{ $$ = $1 }
;