Fix parser generation script