anchor.diff:    when ?IS_SPACE(C) ->
       Parser1 = next_col(Parser, 1, Rest),
       skip_directive_trailing_ws(Parser1);
  -skip_directive_trailing_ws(#yaml_parser{chars = [C | _]} = Parser)
  -  when ?IS_NEWLINE(C) orelse C == $# ->
  +skip_directive_trailing_ws(
  +  #yaml_parser{doc_version = Version, chars = [C | _]} = Parser)
  +  when ?IS_NEWLINE(C) orelse C == $# orelse
  +  (Version == {1,1} andalso ?IS_NEWLINE_11(C)) ->
       next_state(Parser, fun find_next_token/1);
   skip_directive_trailing_ws(
     #yaml_parser{chars = []} = Parser) ->
  
positive.code:     %% moved forward.
      next_state(Parser, fun find_next_token/1);
  parse_comment(#yaml_parser{chars = [_ | Rest]} = Parser) ->
      Parser1 = next_col(Parser, 1, Rest),
      parse_comment(Parser1);
  parse_comment(#yaml_parser{chars = [], raw_eos = false} = Parser) ->
      return(Parser);
  parse_comment(#yaml_parser{chars = [], raw_eos = true} = Parser) ->
  
negative.code:     parse_reserved_directive_arg(Parser, Ctx1);
  parse_reserved_directive_arg(#yaml_parser{chars = [C | Rest]} = Parser,
    #reserved_directive_ctx{current = Current} = Ctx) ->
      Parser1 = warn_if_non_ascii_line_break(Parser),
      Parser2  = next_col(Parser1, 1, Rest),
      Current1 = case Current of
          undefined -> [C];
          _         -> [C | Current]
  