From ca17a4ce5b6fdc41404feccd3f404cc6177f72bc Mon Sep 17 00:00:00 2001 From: parrt Date: Sun, 6 Nov 2011 10:32:01 -0800 Subject: [PATCH] ooops; wrong version [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9265] --- .../src/org/antlr/v4/runtime/DefaultANTLRErrorStrategy.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/Java/src/org/antlr/v4/runtime/DefaultANTLRErrorStrategy.java b/runtime/Java/src/org/antlr/v4/runtime/DefaultANTLRErrorStrategy.java index 62ebf0fc5..37ee6291a 100644 --- a/runtime/Java/src/org/antlr/v4/runtime/DefaultANTLRErrorStrategy.java +++ b/runtime/Java/src/org/antlr/v4/runtime/DefaultANTLRErrorStrategy.java @@ -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 }