Line number reporting in error was wrong

Blank lines were not increasing the count.