add macro definitions lookup method