Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Backport Automated backport, please consider for minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants