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

kotlin/kotlin/pom.xml incorrectly lists UnicodeClasses.g4 as a top-level g4. This causes grammars.json file to be incorrect. #4177

Closed
kaby76 opened this issue Jul 27, 2024 · 0 comments

Comments

@kaby76
Copy link
Contributor

kaby76 commented Jul 27, 2024

Noted here: antlr/antlr4-lab#92

The pom.xml incorrectly lists UnicodeClasses.g4 as a top-level grammar.

<include>UnicodeClasses.g4</include>
. It is not!!

mkindex.py incorrectly grabs the wrong "lexer" grammar, and generates a wrong grammars.json.

"parser": "https://raw.githubusercontent.com/antlr/grammars-v4/master/kotlin/kotlin/KotlinLexer.g4",

In addition, we use the pom.xml to discover this information. The old Maven tester has been replaced by trgen.

kaby76 added a commit to kaby76/grammars-v4 that referenced this issue Jul 27, 2024
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

No branches or pull requests

1 participant