I have already fixed this I think. It is because the EOF token is trying
to be duplicated or otherwise modified. However, the runtime error message
routine is just an example - you are expected to implement your own that
does something sensible ;-)

Jim

> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Marco Trudel
> Sent: Thursday, February 03, 2011 5:58 AM
> To: [email protected]
> Subject: [antlr-interest] Segfault in C target on EOF error reporting
>
> 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

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to