[antlr-interest] C target difficulties

Gavin Lambert antlr at mirality.co.nz
Thu Dec 18 10:54:09 PST 2008


At 01:48 19/12/2008, M. C. wrote:
>Then I've got a somewhat more serious problem, my code hangs when 
>feeding an input file. I checked with some printf statements 
>where it hangs, but it doesn't do anything after the  " psr = 
>testParserNew(tstream); " line. The program doesn't shutdown, but 
>also doesn't do anything else.

Did you compile the grammar with -debug?  If so, then hanging is 
normal, since it's waiting for a connection from the debugger 
(ANTLRworks).

If you don't want it to do that, then ensure you're not compiling 
it with -debug.



More information about the antlr-interest mailing list