ooops; wrong version

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9265]
This commit is contained in:
parrt 2011-11-06 10:32:01 -08:00
parent ddb7ae218d
commit ca17a4ce5b
1 changed files with 1 additions and 2 deletions

View File

@ -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
}