[antlr-interest] Segfault in C target on EOF error reporting

Marco Trudel marco at mtsystems.ch
Thu Feb 3 05:58:27 PST 2011


Dear Jim

If there's an EOF in the grammar, the C target crashes on input with 
certain syntax errors. I wrote this quick fix. I hope it at least helps 
you pinpointing the problem.

Any thoughts/comments?


Thanks
Marco
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: eof-quickfix.patch
Url: http://www.antlr.org/pipermail/antlr-interest/attachments/20110203/5b7d0c8b/attachment.pl 


More information about the antlr-interest mailing list