anchor.diff:      lists:flatten(Res).
   
   include_submodule(M, IOpts, Opts, Ps) ->
  +    ?dbg("m ~p, iopts ~p, opts ~p, ps ~p", [M, IOpts, Opts, Ps]),
       File = case lists:keyfind(revision_date, 1, IOpts) of
   	       {'revision_date', _, D, _} ->
   		   <<M/binary, "@", D/binary, ".yang">>;
  
positive.code: %% expand_uses([], _, _, _, _) ->
  %%     [].
  
  expand_elems_([{uses,L,U,Ou}|T], #mod{loop_count = Cnt,
  				      data = Yang,
  				      prefix = OwnPfx,
  				      imports = Imports} = ModR, Ps) ->
      if Cnt > 1000 -> throw({circular_dependency, [uses, L, U]});
         true -> ok
      end,
  
negative.code: 		   <<M/binary, ".yang">>
  	   end,
      case deep_parse(File, Opts, Ps) of
          {ok, [{submodule,_,_,Data}]} ->
              Data;
  	Other ->
  	    error({include_error, [M, IOpts, Other]})
      end.
  