[antlr-interest] ANTLR 3.0b6 --Debug Mode Gets Infinite Loop

Terence Parr parrt at cs.usfca.edu
Fri Feb 16 16:26:30 PST 2007


-debug puts parser into a server mode. it is waiting for a socket  
connection from ANTLRWorks.
Ter
On Feb 16, 2007, at 4:00 PM, Bert Williams wrote:

> Greetings:
>
>
>
> When I compile my grammar without the –debug flag, I get a lexer/ 
> parser that completes.  The lexer/parser hangs in an infinite loop  
> if I add the –debug flag.  Use of the –trace flag appears to cause  
> no change in behaviour.
>
>
>
> I do have to use the backtrack=true option in places and I do get  
> the “non-LL(*) DFA 9” message several times during the build.
>
>
>
> I did not find this problem in the ANTLR issue tracking system.
>
>
>
> If this is not a known issue, I can provide the grammar and test  
> program to support analysis.
>
>
>
> Bert Williams.
>
>
>
>
>
>



More information about the antlr-interest mailing list