[antlr-interest] C# Error Recovery
Terence Parr
parrt at cs.usfca.edu
Thu Apr 17 12:02:58 PDT 2008
On Apr 17, 2008, at 11:52 AM, Thomas Brandon wrote:
> doesn't seem to offer any advatage or be much cleaner. However I think
> the seperate suggestion of having the getErrorMessage function use the
> message of exceptions of an unkown type (rather than defaulting to
> null in these cases currently) is reasonable and you don't seem to
> have dealt with this.
Ah! Quite right...adding Johannes' suggestion:
e.getMessage()
edit //depot/code/antlr/main/CHANGES.txt#51
edit //depot/code/antlr/main/runtime/Java/src/org/antlr/runtime/
BaseRecognizer.java#12
Change 4780 submitted.
Ter
More information about the antlr-interest
mailing list