Improved Error Recovery in Generated LR Parsers