Forum: Ruby Error recovery in Racc using error token

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cd435e5fd698356961dfbf74f3184649?d=identicon&s=25 Duff OMelia (Guest)
on 2006-05-10 19:07
(Received via mailing list)
Hi,

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.