From: Aaron Patterson Date: 2007-10-25T07:36:20+09:00 Subject: Racc error recovery Hi everyone, I'm writing a racc parser, and I need to recover from parse errors. Basically I'm writing a CSS parser, and I need to handle poorly formatted CSS. Unfortunately I can't seem to find any good documentation or examples on error recovery. I've read the Racc documentation about on_error and entering "error recovering mode", as well as calling yyerrok to leave error recovering mode, but I don't know what that actually means. I've also discovered the "error" rule, but I don't want to explicitly add that rule to every rule that could possibly have an error. Any tips would be greatly appreciated. Thanks! -- Aaron Patterson http://tenderlovemaking.com/