anchor.diff: +%%%----------------------------------------------------------------------
  +%%% File    : alog_parse_trans.erl
  +%%% Author  : Artem Golovinsky <artemgolovinsky@gmail.com>
  +%%% Purpose :
  +%%% Created : 09 Jul 2011 by Artem Golovinsky <artemgolovinsky@gmail.com>
  +%%%
  +%%% alogger, Copyright (C) 2011  Siberian Fast Food
  +%%%----------------------------------------------------------------------
  +
   -module(alog_parse_trans).
   
   -export([parse_transform/2, load_config/1]).
  
positive.code: change_and_remove([]) -> [].
  
  cmd_every({attribute,_,file,{_,_}}) ->
      {attribute,1,file,{?IFACE_SOURCE,1}};
  cmd_every({attribute,_,module,_}) ->
      {attribute,1,module,?IFACE_MODE};
  cmd_every({attribute,_, export, Funcs}) ->
      F1 = proplists:delete(default_mod_ast, Funcs),
      F2 = proplists:delete(default_modlogs_ast, F1),
      {attribute,1, export, F2};
  
  
negative.code:     Fs1 = mdma_transform(Fs, Ast, Glm),
      [F1|Fs1];
  mdma_transform([], _Ast, _Glm) -> [].
    
  mdma_transform_every({function,Line,default_mod_ast,Arity,Clause}, Ast, _Glm) ->
      NewClause = transform_clause(Clause, Ast),
      {function,Line,default_mod_ast,Arity,NewClause};
  