Add span to the undefined macro error