@Override
	public void syntaxError(Recognizer<?, ?> recognizer,
							Object offendingSymbol,
							int line,
							int charPositionInLine,
							String msg,
							RecognitionException e)
	{
		System.err.println("line " + line + ":" + charPositionInLine + " " + msg);
	}
{@inheritDoc}

<p>
This implementation prints messages to {@link System#err} containing the
values of {@code line}, {@code charPositionInLine}, and {@code msg} using
the following format.</p>

<pre>
line <em>line</em>:<em>charPositionInLine</em> <em>msg</em>
</pre>
runtime/Java/src/org/antlr/v4/runtime/ConsoleErrorListener.java