Report line and offending character on errors