Skip to content

Fix comments after -> operator #14976

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

Closed
wants to merge 1 commit into from
Closed

Conversation

iluuu1994
Copy link
Member

Comments should now fall out of ST_LOOKING_FOR_PROPERTY.

Fixes GH-14961

Copy link
Member

@bwoebi bwoebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks right to me and the expected fix too.
Any reason this targets master instead of PHP 8.2?

@iluuu1994
Copy link
Member Author

@bwoebi It's quite an unlikely edge case, given it only affects keywords appearing after the comment in this peculiar position. That said, I don't foresee any issues with this PR.

@bwoebi
Copy link
Member

bwoebi commented Jul 16, 2024

@iluuu1994 I'd agree for a PR of significant complexity, which this one isn't, so yeah.

@iluuu1994
Copy link
Member Author

Okay. I'll merge for 8.2 then ^^

Comments should now fall out of ST_LOOKING_FOR_PROPERTY.

Fixes phpGH-14961
Closes phpGH-14976
@iluuu1994 iluuu1994 changed the base branch from master to PHP-8.2 July 16, 2024 20:59
@iluuu1994 iluuu1994 closed this in b368db2 Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comments between object operator and semi-reserved name result in parse error
2 participants