Skip to content

Fix 3052#3053

Merged
ericvergnaud merged 2 commits into
antlr:masterfrom
kkosleeeep:fix-3052
Jan 27, 2021
Merged

Fix 3052#3053
ericvergnaud merged 2 commits into
antlr:masterfrom
kkosleeeep:fix-3052

Conversation

@kkosleeeep

Copy link
Copy Markdown
Contributor

Fix #3052.

The problem is caused by an undefined ruleIndex attribute.
Calling getRuleIndex() method instead of accessing the ruleIndex attribute solves this problem.

@ericvergnaud

Copy link
Copy Markdown
Contributor

Hi,
thanks for this but unfortunately our CI is currently down, so can't assess the impact of this proposed change.
Is it ok to park this for a week or so until the CI is fixed?

@kkosleeeep

Copy link
Copy Markdown
Contributor Author

Thank you for the quick reply.
It's totally fine for me :)

@ericvergnaud

Copy link
Copy Markdown
Contributor

Hi,
the CI is fixed
can you touch the PR at your end in order to trigger checks?
thanks

@ericvergnaud ericvergnaud merged commit 62a0b02 into antlr:master Jan 27, 2021
@ericvergnaud ericvergnaud added this to the 4.9.2 milestone Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python3 runtime raises AttributeError in Parser.py

3 participants