'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
...@antlr.org
[mailto:antlr-interest-boun...@antlr.org] On Behalf Of Luchesar Cekov
Sent: June 30, 2010 1:35 PM
Cc: antlr-interest@antlr.org
Subject: Re: [antlr-interest] Continue parsing after an error
Hi Gordon,
Thanks for the prompt response.
Adding OTHER as an alternative was what I tried
and will skip the rest of the tokens.
The result AST will contain only children up until the first illegal
token s.
I cannot see where my mistake is. It looks like the parser should not do
that. Can you suggest a workaround for the problem?
Thanks in advance,
Luchesar
--
Luchesar Cekov
Software
...@antlr.org] On Behalf Of Luchesar Cekov
Sent: June 30, 2010 10:10 AM
To: antlr-interest@antlr.org
Cc: Valerio Malenchino
Subject: [antlr-interest] Continue parsing after an error
Dear ANTLR enthusiasts,
I am struggling with a problem. The parser jumps to the end of file from
the middle