[antlr-interest] v3 antlr hangs at waitpid

Martin d'Anjou martin.danjou at neterion.com
Tue Feb 20 11:58:31 PST 2007


Ok, the problem is I had options {filter=true;} from an old lexer grammar 
file at the top of my parser grammar. Don't do that.

On Tue, 20 Feb 2007, Martin d'Anjou wrote:

> Hello,
>
> My grammar hangs... or I should say when I use my compiled grammar it hangs. 
> I don't know where or how. The -debug switch does not print information. This 
> is using 3.0b6.
>
> I ran it with strace to see if I learned something, and it hangs at
> waitpid(-1,  <unfinished ...>
>
> The CPU is at 0% utilization, so control-C is the only way out.
>
> How can I debug this problem? Prune things out of my grammar until it no 
> longer hangs?
>
> Thanks,
> Martin
>


More information about the antlr-interest mailing list