For EndOfLine and EndOfFile ("") parsing problems the last char in the string is returned For the case where the parser is not able to figure out the line and column number -1 will be returned
line where the problem was found
the beginLine to set