Macros cannot reach back like that, no. The renaming of the variable is due to sweet's hygiene system that operates on the program as a whole - if two variables with the same name exist in the same scope it will rename them to ensure uniqueness.
var foo = 5;
var tmp = 6;
var tmp$1 = foo;
foo = tmp;
tmp = tmp$1;This was back in 2014 though and sweet has changed a ton since then, so the output is probably different