Modify parser to set the Namespace in MacroDefinition

This is useful when doing stuff with MacroDefinition