Skip to content
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

[PHP] Fix SQL string termination #3316

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

deathaxe
Copy link
Collaborator

@deathaxe deathaxe commented Apr 6, 2022

This PR adds a bailout to continued SQL strings to ensure to pop
the expression part off stack if an unmatched token is found.

Note: Adding else-pop to nested-expressions doesn't yet work.
Some refactorings are required before.

This commit adds a bailout to continued SQL strings to ensure to pop
the expression part off stack if an unmatched token is found.

Note: Adding `else-pop` to `nested-expressions` doesn't yet work.
      Some refactorings are required before.
@jfcherng jfcherng merged commit f2083e6 into sublimehq:master Apr 7, 2022
@deathaxe deathaxe deleted the pr/php/fix-sql-string-bailout branch April 7, 2022 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants