I have this entry in my grammar file:
@members
{
@Override
public void displayRecognitionError(String[] tokenNames,
RecognitionException e)
{
errors.add(new ErrorWrapper(getErrorMessage(e, tokenNames), e.line,
e.c));
}
}
but when using the parser I still see a lot of messages like:
line 1:427908 no viable alternative at character ')'
line 1:427909 no viable alternative at character ')'
sent to std error. I thought override displayRecognitionError prevented
that.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.