modify error messages, processing syntax error messages