anchor.diff:              Err
       end.
   
  --spec format_error(atom() |
  -                   {parser_error | scanner_error,
  -                    binary(),
  -                    non_neg_integer(), non_neg_integer()}) -> string().
  +-spec format_error(atom() | yaml_error()) -> string().
   
   format_error({Tag, Reason, Line, Column}) when Tag == parser_error;
                                                  Tag == scanner_error ->
  
positive.code: 
  -type option() :: {plain_as_atom, boolean()} | plain_as_atom.
  -type options() :: [option()].
  
  -define(PLAIN_AS_ATOM, 1).
  
  
negative.code:         [Line+1, Column+1, Reason]));
  format_error(memory_error) ->
      "Memory error";
  format_error(_) ->
      "Unexpected error".
  
  -spec decode(iodata()) -> {ok, term()} | {error, yaml_error()}.
  
  decode(Data) ->
      decode(Data, []).
  
  -spec decode_from_file(file:filename()) -> {ok, term()} | {error, yaml_error()}.
  
  decode_from_file(File) ->
      decode_from_file(File, []).
  
  -spec decode_from_file(file:filename(), options()) -> {ok, term()} | {error, yaml_error()}.
  
  decode_from_file(File, Opts) ->
      case file:read_file(File) of
  