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 explicit EOF to top-level parser rule (bp #1217) #1250

Merged
merged 2 commits into from
Nov 22, 2019

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Nov 22, 2019

This is an automated backport of pull request #1217 done by Mergify.io

* Fixes #1154
* Tests that #1154 example produces SyntaxErrorsException
* Generally helps catch trailing syntax errors
* Performance-neutral relative to previous grammar
* Recommended by antlr4 devs, can help performance in some cases
* See antlr/antlr4#1540

(cherry picked from commit 8f108c1)
@mergify mergify bot requested a review from a team as a code owner November 22, 2019 17:04
@mergify mergify bot added the Backport Automated backport, please consider for minor release label Nov 22, 2019
@mergify mergify bot merged commit 8d5ebe7 into 1.2.x Nov 22, 2019
@mergify mergify bot deleted the mergify/bp/1.2.x/pr-1217 branch November 22, 2019 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Automated backport, please consider for minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants