scope report typedef to scanner class.