Add line number in error output for lineparsing for