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

Fix for #4177 -- kotlin/kotlin/pom.xml and grammars.json #4178

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

kaby76
Copy link
Contributor

@kaby76 kaby76 commented Jul 27, 2024

This PR fixes the top-level lexer grammar for kotlin/kotlin as listed in the pom.xml. The <include> element should only be for top-level grammars, not imported. UnicodeClasses.g4 is an imported grammar, but it is listed in the pom.xml to be processed by the tool.

The grammars.json file is a list of all grammars in this repo for testing in lab.antlr.org. It contains an error for the kotlin grammar because of the pom error. The file has been regenerated to fix antlr/antlr4-lab#92; the grammars.json file is computed by mkindex.py.

@kaby76 kaby76 changed the title Fix #4177 -- fix kotlin/kotlin/pom.xml and grammars.json Fix for #4177 -- kotlin/kotlin/pom.xml and grammars.json Jul 28, 2024
@teverett
Copy link
Member

@kaby76 thanks!

@teverett teverett merged commit 9bdc0e2 into antlr:master Jul 28, 2024
6 checks passed
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.

Sample Kotlin Grammar does not load properly and is unusable.
2 participants