anchor.diff:          {ok,Val} -> Val;
           error -> Def
       end.
  +
  +%% add_error(Line, Error, State) -> State.
  +
  +add_error(L, E, #lfe_cg{errors=Errs}=St) ->
  +    St#lfe_cg{errors=Errs ++ [{L,?MODULE,E}]}.
  
positive.code: module(Mfs, #cinfo{opts=Opts,file=File}) ->
      St0 = #lfe_cg{opts=Opts,file=File},
      {AST,St1} = compile_module(Mfs, St0),
      {ok,St1#lfe_cg.module,AST,[]}.
  
  compile_module(Mfs, St0) ->
      %% Collect all the module attributes and output them first.
      St1 = collect_mod_defs(Mfs, St0),
      Attrs = compile_attributes(St1),
      %% Now we do the meta, function and record forms in order.
      Forms = compile_forms(Mfs, St1),
      {Attrs ++ Forms,St1}.
  
  %% collect_mod_defs(ModuleForms, State) -> State.
  %%  Collect the attributee information in define-module and
  
negative.code: 
  -module(lfe_codegen).
  
  -export([module/2,format_error/1]).
  
  %% -compile(export_all).
  
  