forked from jasder/antlr
local replica of #1010
This commit is contained in:
parent
158ef2c567
commit
3e807138d5
|
@ -140,7 +140,7 @@ class LexerATNConfig(ATNConfig):
|
||||||
return False
|
return False
|
||||||
if self.passedThroughNonGreedyDecision != other.passedThroughNonGreedyDecision:
|
if self.passedThroughNonGreedyDecision != other.passedThroughNonGreedyDecision:
|
||||||
return False
|
return False
|
||||||
if self.lexerActionExecutor is not other.lexerActionExecutor:
|
if not(self.lexerActionExecutor==other.lexerActionExecutor):
|
||||||
return False
|
return False
|
||||||
return super(LexerATNConfig, self).__eq__(other)
|
return super(LexerATNConfig, self).__eq__(other)
|
||||||
|
|
||||||
|
|
|
@ -146,7 +146,7 @@ class LexerATNConfig(ATNConfig):
|
||||||
return False
|
return False
|
||||||
if self.passedThroughNonGreedyDecision != other.passedThroughNonGreedyDecision:
|
if self.passedThroughNonGreedyDecision != other.passedThroughNonGreedyDecision:
|
||||||
return False
|
return False
|
||||||
if self.lexerActionExecutor is not other.lexerActionExecutor:
|
if not(self.lexerActionExecutor == other.lexerActionExecutor):
|
||||||
return False
|
return False
|
||||||
return super().__eq__(other)
|
return super().__eq__(other)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue