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

Add support for delete statements #1447

Merged
merged 26 commits into from Feb 19, 2022

Conversation

PadraigK
Copy link
Contributor

  • Adds support for delete statements
  • Regenerated parser to label various expression types
  • Fixes feedback from previous PR

@PadraigK PadraigK marked this pull request as ready for review February 19, 2022 00:51
Copy link
Collaborator

@kyleconroy kyleconroy left a comment

Choose a reason for hiding this comment

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

Had no idea you could add labels using comments

@kyleconroy kyleconroy merged commit fc7bf6d into sqlc-dev:main Feb 19, 2022
@PadraigK
Copy link
Contributor Author

Had no idea you could add labels using comments

Yeah! I was pretty stuck with converting more complex expressions to the AST until I discovered this:
https://github.com/antlr/antlr4/blob/master/doc/parser-rules.md#alternative-labels

@StevenACoffman StevenACoffman mentioned this pull request Apr 24, 2022
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.

None yet

2 participants