78c36cf08d
This change introduces Rc<MacroMap> to allow for copy-on-write semantics when defining macros in nested scopes. When a macro is defined in a scope that is already shared, the MacroMap is cloned before modification, ensuring that changes to one scope do not affect others that share the same map.