antlr / antlr5

BSD 3-Clause "New" or "Revised" License
57 stars 5 forks source link

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

Closed KvanTTT closed 9 months ago

KvanTTT commented 9 months ago

Porting a PR from ANTLR4 repository (https://github.com/antlr/antlr4/pull/3779)

It fixes https://github.com/antlr/antlr5/issues/34 but is should be moved to the current repo as I wrote.

KvanTTT commented 9 months ago

Done. Could you please also move https://github.com/antlr/antlr5/issues/34 to our antlr5 repository for clarity?

ericvergnaud commented 9 months ago

Done. Could you please also move antlr/antlr4#3640 to our antlr5 repository for clarity?

Done

KvanTTT commented 9 months ago

Thanks, I've fixed the issue number in commit message and now it's ready review.

KvanTTT commented 9 months ago

Please let me merge my own MRs next times.