# Error recovery in Racc using error token

**URL:** <https://www.ruby-forum.com/t/error-recovery-in-racc-using-error-token/60155>\
**Category:** Ruby\
**Created:** [May 10, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/error-recovery-in-racc-using-error-token/60155 "2006-05-10T19:07:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duff\_OMelia](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/f07891/32.png) [@Duff\_OMelia](https://www.ruby-forum.com/u/Duff_OMelia)\
**Post date:** [May 10, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/error-recovery-in-racc-using-error-token/60155/1 "2006-05-10T19:07:39Z")

</div>

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
