anchor.diff:          [Line+1, Column+1, Reason]));
   format_error(memory_error) ->
       "Memory error";
  -format_error(unexpected_error) ->
  -    "Unexpected error";
  -format_error(Reason) ->
  -    file:format_error(Reason).
  -
  --spec decode(iodata()) -> {ok, term()} | {error, binary()}.
  +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, binary()}.
  +-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, binary()}.
  +-spec decode_from_file(file:filename(), options()) -> {ok, term()} | {error, yaml_error()}.
   
   decode_from_file(File, Opts) ->
       case file:read_file(File) of
  
positive.code:             Err
      end.
  
  -spec decode(iodata(), options()) -> {ok, term()} | {error, binary()}.
  
  decode(Data, Opts) ->
      nif_decode(Data, make_flags(Opts)).
  
negative.code: 
  -type option() :: {plain_as_atom, boolean()} | plain_as_atom.
  -type options() :: [option()].
  -type parser_error() :: {parser_error, binary(), integer(), integer()}.
  -type scanner_error() :: {scanner_error, binary(), integer(), integer()}.
  -type yaml_error() :: parser_error() | scanner_error() |
                        memory_error | unexpected_error.
  
  -define(PLAIN_AS_ATOM, 1).
  
  