[antlr-interest] antlr & pipe

Alexandru Mosoi brtzsnr at gmail.com
Fri Mar 7 15:01:39 PST 2008


I'm trying to write a program that parses gdb output as it's displayed. The
gdb's output is sent to a pipe, from where it's read by my program. However
the parser, after reading gdb's output hangs wainting for another token or
EOF. But, gdb doesn't close the pipe (no EOF) and doesn't send any extra
token. I read somewhere that I should disable lookahead, but how do I do
that?

-- 
Alexandru Moşoi
http://alexandru.mosoi.googlepages.com

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080308/84592732/attachment.html 


More information about the antlr-interest mailing list