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 the indexing of symbolic names of lexer rules in parser #218

Merged
merged 1 commit into from
May 20, 2024

Conversation

renatahodovan
Copy link
Owner

If a combined grammar doesn't contain any lexer rule definitions but inline literal constants only, then the symbolicName list of the parser is empty. The patch prepares the parser of Grammarinator for such cases.

If a combined grammar doesn't contain any lexer rule definitions
but inline literal constants only, then the symbolicName list of
the parser is empty. The patch prepares the parser of Grammarinator
for such cases.
@renatahodovan renatahodovan requested a review from akosthekiss May 20, 2024 10:19
Copy link
Collaborator

@akosthekiss akosthekiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@akosthekiss akosthekiss merged commit 5e8d0c4 into master May 20, 2024
46 checks passed
@akosthekiss akosthekiss deleted the fix-parse-lit branch May 20, 2024 10:30
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