#70: [php5] inherit meta.Data at assign.Assign
This commit is contained in:
parent
61be88381e
commit
f2e5271e2a
578
php5/php5.go
578
php5/php5.go
File diff suppressed because it is too large
Load Diff
@ -3408,6 +3408,8 @@ expr_without_variable:
|
|||||||
// save comments
|
// save comments
|
||||||
$2.Meta.SetTokenName(meta.EqualToken).AppendTo($$.GetMeta())
|
$2.Meta.SetTokenName(meta.EqualToken).AppendTo($$.GetMeta())
|
||||||
|
|
||||||
|
$1.GetMeta().Cut(newInheritMetaFilter()).PrependTo($$.GetMeta())
|
||||||
|
|
||||||
yylex.(*Parser).returnTokenToPool(yyDollar, &yyVAL)
|
yylex.(*Parser).returnTokenToPool(yyDollar, &yyVAL)
|
||||||
}
|
}
|
||||||
| variable '=' '&' variable
|
| variable '=' '&' variable
|
||||||
|
Loading…
Reference in New Issue
Block a user