protected void beginErrorCondition(Parser recognizer) {
		errorRecoveryMode = true;
	}
This method is called to enter error recovery mode when a recognition
exception is reported.

@param recognizer the parser instance
runtime/Java/src/org/antlr/v4/runtime/DefaultErrorStrategy.java