Fix to make the parser make progress on errors.