-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect print precedence #208
Comments
|
Also the |
Precedence fixed for by-ref assign (1058a50), yield from (b0dadd5) and print (63d72a6). 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. |
Opened #235 for the yield issue, closing this one. |
print
should be betweenand
andyield
, currently it's spec'd as taking an arbitrary expression. https://github.com/php/php-langspec/blob/master/spec/10-expressions.md#grammar-print-intrinsicThe text was updated successfully, but these errors were encountered: