Use the dumpmacros pragma and the end_dumpmacros pragma when you want to override the scope of -xdumpmacros.