anchor.diff:      Input = shorten_filename(Input0),
       Output = shorten_filename(Output0),
       Includefile = lists:sublist(Includes, 1),
  -    Werr = proplists:get_bool(warnings_as_errors, Specific),
  +    Werror = proplists:get_bool(warnings_as_errors, Specific),
       Opts = [{parserfile,Output}, {includefile,Includefile}, {verbose,Verbose},
               {report_errors, true}, {report_warnings, WarnLevel > 0},
  -	    {warnings_as_errors, Werr}],
  +	    {warnings_as_errors, Werror}],
       case file(Input, Opts) of
           {ok, _OutFile} ->
               ok;
  
positive.code:     report_warnings(St),
      Es = pack_errors(St#yecc.errors),
      Ws = pack_warnings(St#yecc.warnings),
      Werr = werr(St),
      if 
          Werr ->
              do_error_return(St, Es, Ws);
          Es =:= [] -> 
              case member(return_warnings, St#yecc.options) of
  
negative.code:     end.
  
  report_warnings(St) ->
      Werror = member(warnings_as_errors, St#yecc.options),
      Prefix = case Werror of
  		 true -> "";
  		 false -> "Warning: "
  	     end,
      ReportWerror = Werror andalso member(report_errors, St#yecc.options),
      case member(report_warnings, St#yecc.options) orelse ReportWerror of
          true ->
              foreach(fun({File,{none,Mod,W}}) -> 
                              io:fwrite(<<"~s: ~s~s\n">>,
  