added line information to parser errors