Use __FILE__; GetCurrentMacroName() really returns the currently .x-ed macro.