anchor.diff:      },
       Parser1 = add_error(Parser, Error,
         "A BOM must not appear inside a document", []),
  -    {Col1, Delta1} = next_col(Col, Delta, 1),
  +    {Col1, Delta1} = ?NEXT_COL(Col, Delta, 1),
       find_next_token(Rest, Line, Col1, Delta1, Parser1);
   
   %% Directives end indicator.
  
positive.code:       column = Col
      },
      Parser3 = queue_token(Parser2, Token),
      {Col1, Delta1} = next_col(Col, Delta, 1),
      find_next_token(Rest, Line, Col1, Delta1, Parser3).
  
  %% -------------------------------------------------------------------
  
negative.code:   #yaml_parser{doc_version = Version} = Parser,
    #flow_scalar_ctx{newline = false} = Ctx)
    when ?IS_NEWLINE(C) orelse (Version == {1,1} andalso ?IS_NEWLINE_11(C)) ->
      {Rest, Line1, Col1, Delta1} = ?NEXT_LINE(Chars, Line, Delta, Parser),
      Ctx1    = Ctx#flow_scalar_ctx{
        spaces  = " ",
        newline = true
  