ooops; wrong version
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9265]
This commit is contained in:
parent
ddb7ae218d
commit
ca17a4ce5b
|
@ -172,8 +172,7 @@ public class DefaultANTLRErrorStrategy implements ANTLRErrorStrategy {
|
|||
{
|
||||
// System.err.println("at loop back: "+s.getClass().getSimpleName());
|
||||
reportUnwantedToken(recognizer);
|
||||
consumeUntil(recognizer, expecting);
|
||||
// consumeUntil(recognizer, getErrorRecoverySet(recognizer));
|
||||
consumeUntil(recognizer, getErrorRecoverySet(recognizer));
|
||||
}
|
||||
// do nothing if we can't identify the exact kind of ATN state
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue