[antlr-interest] Antlr could not analyze decision - intermittent

Gavin Lambert antlr at mirality.co.nz
Tue Jan 22 10:53:07 PST 2008


At 07:33 23/01/2008, Jon Schewe wrote:
 >
 >I get the following error 5 out of 6 times when I run antlr on 
the
 >same grammar file without changing anything.  Why don't I get 
the
 >error everytime?  This makes it very hard to debug if my changes 

 >will fix anything.

I could be wrong, but I think it has a timeout for 
generating/processing the DFA.  If it hits the timeout without 
finishing, then you get the error, otherwise it's able to 
continue.

Most likely your grammar is a border case where sometimes it 
manages to make it in time but other times it times out.



More information about the antlr-interest mailing list