Skip to content

Commit d0cfb98

Browse files
committed
Merge branch '2.x'
Conflicts: lib/PhpParser/Parser/Php7.php
2 parents 46495ab + 13f7321 commit d0cfb98

File tree

4 files changed

+531
-512
lines changed

4 files changed

+531
-512
lines changed

grammar/php7.y

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ expr:
524524
| array_short_syntax '=' expr { $$ = Expr\Assign[$1, $3]; }
525525
| variable '=' expr { $$ = Expr\Assign[$1, $3]; }
526526
| variable '=' '&' variable { $$ = Expr\AssignRef[$1, $4]; }
527-
| variable '=' '&' new_expr { $$ = Expr\AssignRef[$1, $4]; }
528527
| new_expr { $$ = $1; }
529528
| T_CLONE expr { $$ = Expr\Clone_[$2]; }
530529
| variable T_PLUS_EQUAL expr { $$ = Expr\AssignOp\Plus [$1, $3]; }

0 commit comments

Comments
 (0)