Skip to content

Commit

Permalink
Merge pull request #3053 from l215884529/fix-3052
Browse files Browse the repository at this point in the history
Fix 3052
  • Loading branch information
ericvergnaud authored Jan 27, 2021
2 parents 3c67a9d + ac9d62a commit 62a0b02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -284,3 +284,4 @@ YYYY/MM/DD, github id, Full name, email
2020/11/26, mr-c, Michael R. Crusoe, [email protected]
2020/12/01, maxence-lefebvre, Maxence Lefebvre, [email protected]
2020/12/03, electrum, David Phillips, [email protected]
2021/01/25, l215884529, Qiheng Liu, [email protected]
2 changes: 1 addition & 1 deletion runtime/Python3/src/antlr4/Parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def unrollRecursionContexts(self, parentCtx:ParserRuleContext):
def getInvokingContext(self, ruleIndex:int):
ctx = self._ctx
while ctx is not None:
if ctx.ruleIndex == ruleIndex:
if ctx.getRuleIndex() == ruleIndex:
return ctx
ctx = ctx.parentCtx
return None
Expand Down

0 comments on commit 62a0b02

Please sign in to comment.