Simplified parser error handling.