Skip to content

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.

2 participants