Minor fix for mult-line errors.
Error messages which spread over multiple lines were not being reported correctly.