parse for warning instead of error in messages
display error messages without line number in first line