[antlr-interest] omission in BaseRecognizer.java?

Mark Volkmann r.mark.volkmann at gmail.com
Thu Dec 20 10:00:41 PST 2007


I noticed that the getErrorMessage method in BaseRecognizer.java
provides a message for every subclass of RecognizerException except
MismatchedRangeException. In that case null is returned. It probably
needs to be handled. Maybe the nested if should end in an else that
returns a reasonable message for any subclass of RecognizerException
that isn't specifically handled in case new subclasses are added
later.

-- 
R. Mark Volkmann
Object Computing, Inc.


More information about the antlr-interest mailing list