anchor.diff:  
   %%-spec(rename/3::(syntaxTree(), [{integer(), integer()}], atom()) ->
   %%	     {syntaxTree(), bool()}).
  -rename(Node, DefinePos, NewName) ->
  -    refac_util:stop_tdTP(fun do_rename/2, Node, {DefinePos, NewName}).
  -
  -%% =====================================================================
  -%%
  -
  -do_rename(Node1, {DefinePos, NewName}) ->
  -    case refac_syntax:type(Node1) of
  +rename(Tree, DefinePos, NewName) ->
  +    refac_util:stop_tdTP(fun do_rename/2, Tree, {DefinePos, NewName}).
  +
  +%% =====================================================================
  +%%
  +
  +do_rename(Node, {DefinePos, NewName}) ->
  +    case refac_syntax:type(Node) of
         variable ->
  -	  As = refac_syntax:get_ann(Node1),
  +	  As = refac_syntax:get_ann(Node),
   	  case lists:keysearch(def, 1, As) of
   	    {value, {def, DefinePos}} ->
  -		{refac_syntax:set_name(Node1, NewName), true};
  -	    _ -> {Node1, false}
  +		{refac_syntax:set_name(Node, NewName), true};
  +	    _ -> {Node, false}
   	  end;
  -      _ -> {Node1, false}
  +      _ -> {Node, false}
       end.
   
   
  
positive.code: 		end
  	end,
      lists:usort(refac_syntax_lib:fold(F, [], Node)).
  
negative.code: 
  -module(refac_rename_var).
  
  -compile(export_all).
  
  -export([rename_var/6, rename_var_eclipse/6]).
  
  -include("../include/wrangler.hrl").
  