define_origins: helper for recursive search of macros (C)