Forum: Ruby Error recovery in Racc using error token

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Duff OMelia (Guest)
on 2006-05-10 21:07
(Received via mailing list)

I have been unable to successfully use the error token in my Racc
grammar.  In YACC, this is the token that is used to continue processing
when an error occurs.  I can't seem to get any action containing the
error token to get fired.

Is the error token supported by Racc?  If so, does anyone happen to know
of an example using it?  I've seen Yacc examples but I can't seem to
locate a Racc example.

Thank you!

Duff OMelia
This topic is locked and can not be replied to.