Hi guys,

My ANTLR parser is pretty mature now and working in production for a long time. The only thing that's bothering me is I am getting lots of System.err logging like this:

line 0:-1 mismatched input '<EOF>' expecting <EOR>
line 0:-1 mismatched input '<EOF>' expecting <EOR>
line 0:-1 mismatched input '<EOF>' expecting <EOR>
line 0:-1 mismatched input '<EOF>' expecting <EOR>
line 0:-1 mismatched input '<EOF>' expecting <EOR>
line 17:16 mismatched input '"' expecting <EOR>
line 17:16 mismatched input '"' expecting <EOR>
line 17:18 mismatched character '<EOF>' expecting '"'
line 17:16 mismatched input '"a' expecting <EOR>
line 17:19 mismatched character '<EOF>' expecting '"'
line 17:16 mismatched input '"as' expecting <EOR>

This is logged somewhere in the ANTLR runtime. Is there a way to redirect or stop that particular log messages?

Thanks,
Luchesar

--

Luchesar Cekov
Software Engineer
+44 (0)20 7239 4949
*Ontology Systems*
www.ontology.com <http://www.ontology.com/>

        

cid:[email protected]

Registered Office: Ontology-Partners Limited, Dalton House, 60 Windsor Avenue, London SW19 2RR, UK

Company Registration No. 5794201

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.

Reply via email to