In this invention, the halogen compound (g) to be allowed to react with the reactive polymer has a bond represented by the general formula: ##STR8## wherein Y1 is a nitrogen or oxygen atom and X is a halogen atom such as a chlorine atom, a bromine atom, an iodine atom or the like.