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

Report all "mutually left recursive rules" errors and fix positions #3779

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

KvanTTT
Copy link
Member

@KvanTTT KvanTTT commented Jul 8, 2022

@KvanTTT KvanTTT changed the title Report amutually left recursive rules error Report all "mutually left recursive rules" errors and fix positions Jul 8, 2022
@KvanTTT KvanTTT marked this pull request as ready for review July 8, 2022 18:39
@KvanTTT KvanTTT force-pushed the correct-position-for-mutually-left-recursive-rules-error branch from 6799c2b to f49d563 Compare July 8, 2022 18:40
@KvanTTT
Copy link
Member Author

KvanTTT commented Jul 8, 2022

@parrt It can be reviewed and merged

@KvanTTT KvanTTT force-pushed the correct-position-for-mutually-left-recursive-rules-error branch 2 times, most recently from 7a0c92d to aeff691 Compare July 15, 2022 11:04
@KvanTTT KvanTTT mentioned this pull request Aug 27, 2022
10 tasks
@KvanTTT KvanTTT force-pushed the correct-position-for-mutually-left-recursive-rules-error branch from aeff691 to 5c09902 Compare February 12, 2023 19:57
@KvanTTT
Copy link
Member Author

KvanTTT commented Feb 12, 2023

@parrt it's ready for merge.

@parrt
Copy link
Member

parrt commented Feb 18, 2023

Hi @KvanTTT I don't have the time to read through this at the moment I'm afraid. I will only have time to try a release for @ericvergnaud tomorrow. Swamped at work and working fiendishly on my dtreeviz lib at the moment :(

@KvanTTT
Copy link
Member Author

KvanTTT commented May 19, 2023

@parrt any chance it will be reviewed and merged this time?

All fields of ANTLRMessage are final

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
Throw LEFT_RECURSION_CYCLES for every erroneous rule instead of the first one

Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
Signed-off-by: Ivan Kochurkin <kvanttt@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Squashed errors for mutually left-recursive rules with incorrect positions
2 participants