I guess u are right. Macros people usually write are local but macros are just AST transformers after all.
I was confusing between what happens during macro expansion (arbitrary computation including lets say doing any analysis and building metadata) versus the result of the macro expansion (a transformed AST).