Reset parser errors so that it can be reused