anchor.diff:  
   -define(BASE, diameter_gen_base_rfc3588).
   -define(BOOL, [true, false]).
  +
  +-define(A, list_to_atom).
  +-define(S, atom_to_list).
   
   %% ===========================================================================
   %% Interface.
  
positive.code:         error ->
              []
      end.
  
  gen(M, messages, {Name, Code, Flags, _, _}) ->
      Rname = M:msg2rec(Name),
  
negative.code: 
  %% enum/3
  
  enum(M, Name, {_,E}) ->
      B = <<E:32/integer>>,
      B = M:avp(encode, E, Name),
      E = M:avp(decode, B, Name).
  
  retag(import_avps)   -> avp_types;
  retag(import_groups) -> grouped;
  retag(import_enums)  -> enum;
  
  retag(avp_types) -> import_avps;
  retag(enum)     -> import_enums.
  
  %% ===========================================================================
  
  