#70: [php5] inherit meta.Data at assign.Assign

This commit is contained in:
z7zmey 2019-01-04 10:01:12 +02:00
parent 61be88381e
commit f2e5271e2a
2 changed files with 292 additions and 288 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3408,6 +3408,8 @@ expr_without_variable:
// save comments
$2.Meta.SetTokenName(meta.EqualToken).AppendTo($$.GetMeta())
$1.GetMeta().Cut(newInheritMetaFilter()).PrependTo($$.GetMeta())
yylex.(*Parser).returnTokenToPool(yyDollar, &yyVAL)
}
| variable '=' '&' variable