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:              {error, Reason} ->
                   add_error(St0#yecc.infile, none, {file_error, Reason}, St0)
           end,
      case {St#yecc.errors, werror(St)} of
          {[], false} -> ok;
          _ -> _ = file:delete(St#yecc.outfile)
      end,
      Parent ! {self(), yecc_ret(St)}.
  
  werror(St) ->
      member(warnings_as_errors, St#yecc.options)
          andalso length(St#yecc.warnings) > 0.
  
  