[antlr-interest] parser stuck in some loop in the astFactory.makefunction call

Micheal J open.zone at virgin.net
Wed Jul 13 15:06:16 PDT 2005


> > Did anyone else ever face such a problem?
> 
> Make sure you aren't using the same nodes in another tree or 
> twice in the same tree.  It's easy to create loops.

Yeah. One way this happens if is you use manual tree creation primitives in
a (sub)rule but, forget to turn off automatic creation for that (sub)rule.

Cheers,

Micheal



More information about the antlr-interest mailing list