There are three different reportError() type methods in antlr.Parser. My example only overrides one of them. See if others should be overridden as well.
Log in to post a comment.