[antlr-interest] ANTLR runtime logging. System.err messages from antlr
Luchesar Cekov
luchesar.cekov at ontology-partners.com
Wed Sep 28 04:18:15 PDT 2011
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:image001.gif at 01CB28DC.799AB7D0
Registered Office: Ontology-Partners Limited, Dalton House, 60 Windsor
Avenue, London SW19 2RR, UK
Company Registration No. 5794201
More information about the antlr-interest
mailing list