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 false positive "Unresolved BNF References" for methods from GeneratedParserUtilBase if parserUtilClass does not inherit it #351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VladRassokhin
Copy link

No description provided.

…ratedParserUtilBase` if `parserUtilClass` does not inherit it

Fixes JetBrains#350
@gregsh
Copy link
Collaborator

gregsh commented Sep 21, 2023

Let's process parser imports correctly. The patch is rather a hack to support that particular single case.

General fix:

Get all parser imports (no semicolons, btw), and cycle through static fqn.* and fqn.method entries.

Funny, but quoted idents with dots are not properly generated, so we can skip fqn imports.
Or they too can be supported, because <<<GeneratedParserUtilBase.eof>>> could work 😄 .

That's it

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.

2 participants