same fix as #1010
This commit is contained in:
parent
1b01140354
commit
158ef2c567
|
@ -13,6 +13,11 @@ user.build.properties
|
|||
# Python
|
||||
*.pyc
|
||||
|
||||
# CSharp
|
||||
bin/
|
||||
obj/
|
||||
*.userprefs
|
||||
|
||||
# NetBeans user configuration files
|
||||
nbactions*.xml
|
||||
/nbproject/private/
|
||||
|
|
|
@ -162,7 +162,9 @@ LexerATNConfig.prototype.equals = function(other) {
|
|||
return false;
|
||||
} else if (this.passedThroughNonGreedyDecision !== other.passedThroughNonGreedyDecision) {
|
||||
return false;
|
||||
} else if (this.lexerActionExecutor !== other.lexerActionExecutor) {
|
||||
} else if (this.lexerActionExecutor ?
|
||||
!this.lexerActionExecutor.equals(other.lexerActionExecutor)
|
||||
: !other.lexerActionExecutor) {
|
||||
return false;
|
||||
} else {
|
||||
return ATNConfig.prototype.equals.call(this, other);
|
||||
|
|
Loading…
Reference in New Issue