c++ find tag and lookup symbol