added --ignoreerror option to ignore parser errors