[antlr-interest] Why stream name can't be printed out when error occurs(ANTLR C)?

Petteri Räty betelgeuse at gentoo.org
Wed May 25 13:07:51 PDT 2011


On 05/25/2011 11:02 PM, Jim Idle wrote:
> So, it is a bug in the tree grammar and you have not implemented an error
> message handler that can help you in development. I cannot create an error
> handler that is all things to all men - hence the supplied default just
> tries to use lots of ways to gather information, so you can decide what is
> needed for your specific case.
> 
> Jim
> 

But is there something preventing virtual tokens from associating to
input so that the default just works? If not I could look at creating a
patch to make it work.

Regards,
Petteri



More information about the antlr-interest mailing list