Intern symbols during grammar preparation