parsing errors: print line number and invalid string