Fixed line numbers on parsing errors.

Parsing exception messages would display the wrong line number
when prior blank lines were encountered.