Fixed error reporting on input parsing.