This means that your lexer has bugs in it and is not catering for all
situations. Just use the input that is causing this to find out what it
wrong with your lexer.

Jim

> -----Original Message-----
> From: antlr-interest-boun...@antlr.org [mailto:antlr-interest-
> boun...@antlr.org] On Behalf Of Luchesar Cekov
> Sent: Wednesday, September 28, 2011 4:18 AM
> To: antlr-interest@antlr.org
> Subject: [antlr-interest] ANTLR runtime logging. System.err messages
> from antlr
>
> 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@01CB28DC.799AB7D0
>
> 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 il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to