fix typo
This commit is contained in:
parent
329f1301ea
commit
e8dfc30f91
|
@ -227,7 +227,7 @@ class DefaultErrorStrategy extends ErrorStrategy {
|
||||||
this.nextTokenState = ATNState.INVALID_STATE_NUMBER;
|
this.nextTokenState = ATNState.INVALID_STATE_NUMBER;
|
||||||
return;
|
return;
|
||||||
} else if (nextTokens.contains(Token.EPSILON)) {
|
} else if (nextTokens.contains(Token.EPSILON)) {
|
||||||
if(self.nextTokensContext === null) {
|
if(this.nextTokensContext === null) {
|
||||||
// It's possible the next token won't match information tracked
|
// It's possible the next token won't match information tracked
|
||||||
// by sync is restricted for performance.
|
// by sync is restricted for performance.
|
||||||
this.nextTokensContext = recognizer._ctx;
|
this.nextTokensContext = recognizer._ctx;
|
||||||
|
|
Loading…
Reference in New Issue