[antlr-interest] Latest intermediate build (ANTLR 3.1b1) produces broken Java code

shmuel siegel antlr at shmuelhome.mine.nu
Tue Apr 29 22:56:29 PDT 2008


Terence Parr wrote:
> hi. apparently 3.1 is forcing a DFA not simple LL(k) lookahead...you 
> got "lucky" before...i recommend you avoid locals that can lead to 
> them being hoisted outside...sorry. not sure how to improve this.
> Ter 
Is there a way to turn off the DFA for testing? One of the great things 
about Antlr is that I could figure out why my grammar was failing by 
reading the code. Unfortunately, I can't do that with the DFA predictor.

Shmuel



More information about the antlr-interest mailing list