anchor.diff:  	end.
       
              	        	
  -handle_tag(TagName, Line, TagArgs, Acc0, default, Ext) ->
  +handle_tag(TagName, Line, TagArgs, Acc0, Ext) ->
  +    io:format("TRACE ~p:~p ~p~n",[?MODULE, ?LINE, TagArgs]),
       case parse(filename:join([erlydtl_deps:get_base_dir(), "priv", "tags", atom_to_list(TagName) ++ Ext])) of
           {ok, ParentAst} ->
   		    [H|T]=ParentAst,
   			{_, List, _, _} = build_tree(H, T, Ext),
  -			List = lists:foldl(fun(X, Acc) -> 
  +			List1 = lists:foldl(fun(X, Acc) -> 
   			        [parse_transform(X, TagArgs) | Acc]			        
   			    end, 
   			    Acc0,
   			    lists:reverse(List)),
  -			{ok, List};
  +			{ok, List1};
   		_ ->
       	    {error, {TagName, Line, "loading tag source template failed"}}
       end.
  
positive.code:     end;    
   
  build_tree2(nil, [{tag, Line, TagName, TagArgs}], #dtl{buffer = Buffer, args = Args, ext = Ext, props = Props}) ->
      case handle_tag(TagName, Line, TagArgs, Buffer, default, Ext) of
          {ok, Buffer1} ->
              {regular, lists:flatten([Buffer1, Buffer]), Args, Props};
          Err ->
  
negative.code:  	end;
  parse_transform(Other, #dtl{args = Args}) ->    
      {Other, Args};                
  parse_transform({tree, variable, _, Var}, Args) ->
      Var2 = list_to_atom(tl(atom_to_list(Var))),
      binary_string(proplists:get_value(Var2, Args));      
  parse_transform(Other, _) ->    
      Other.
          
  
  parse_transform({block, _Line , _Name, [nil, T]}) ->
  	parse_transform(T); 
  parse_transform({var, _Line, Val}) ->
      io:format("TRACE ~p:~p var_parse_transform1: ~p~n",[?MODULE, ?LINE, Val]),    
      erl_syntax:variable(Val);
  parse_transform(Other) -> 
      io:format("TRACE ~p:~p ~p~n",[?MODULE, ?LINE, other]),   
      Other.   	
  
  
  