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

Tolerate missing semicolons in the service body #206

Merged
merged 6 commits into from
Dec 1, 2023
Merged

Conversation

Alfus
Copy link
Contributor

@Alfus Alfus commented Nov 15, 2023

While still producing an error, allowing the rpc or option ast nodes to still be generated. See #200

Will follow up with diffs of a similar pattern for the other body contexts.

Copy link
Member

@jhump jhump left a comment

Choose a reason for hiding this comment

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

Cool. That doesn't seem so bad.

ast/node.go Outdated Show resolved Hide resolved
Copy link
Member

@jhump jhump left a comment

Choose a reason for hiding this comment

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

Looking good!

@Alfus Alfus changed the title Tolerate missing semicolons Tolerate missing semicolons in ServiceBody Nov 17, 2023
@Alfus Alfus marked this pull request as ready for review November 17, 2023 22:45
@Alfus Alfus changed the title Tolerate missing semicolons in ServiceBody Tolerate missing semicolons in the service body Nov 17, 2023
@Alfus Alfus merged commit fc56311 into main Dec 1, 2023
7 checks passed
@Alfus Alfus deleted the alfus/semicolon branch December 1, 2023 17:53
kralicky pushed a commit to kralicky/protocompile that referenced this pull request Feb 7, 2024
While still producing an error, allowing the rpc or option ast nodes to
still be generated. See
bufbuild#200

Will follow up with diffs of a similar pattern for the other body
contexts.
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