add postion informations of errors (parser)