Error recovery in Racc using error token


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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs