There are several places in ANTLR runtime that errors are written to console error, like this.
While that looks harmless in most applications (GUI based, or web apps for example), it is annoying in console apps, as those ANTLR errors are written in their own pattern, with no way to disable or customize.
For this specific place it is possible to use a class derived from DefaultErrorStrategy and override ReportError method to suppress the error in console.
Not sure if this trick is applicable to other places.
There are several places in ANTLR runtime that errors are written to console error, like this.
While that looks harmless in most applications (GUI based, or web apps for example), it is annoying in console apps, as those ANTLR errors are written in their own pattern, with no way to disable or customize.
Any plan to revise the current design?