[php-langspec][Issue #208] - Incorrect print precedence

[email protected] Fri, 15 Mar 2019 08:45:05 +0000
Newsgroups php.standards
Message-ID <[email protected]>
You can view the Issue on github:
https://github.com/php/php-langspec/issues/208

Comment by nikic:
Precedence fixed for by-ref assign (https://github.com/php/php-langspec/commit/1058a5042032e0ad00aed869ce80b839f3927d2c), yield from (https://github.com/php/php-langspec/commit/b0dadd509b0fa94667f96ef32af4481ff2a23e1e) and print (https://github.com/php/php-langspec/commit/63d72a6df5d2c7b1b7a8aedde1410c780cfd92af).

The issue with the yield vs array literal precedence remains, and I'm not sure if there's any reasonable way to specify that in grammar. I didn't manage to get this to work without precedence annotations in the parser.