CoreMacros: added support for {var $var}