Skip to content

Commit

Permalink
Merge pull request #275 from davydovanton/doc-fix-typo
Browse files Browse the repository at this point in the history
Fix typo in error message
  • Loading branch information
hsbt committed Jun 24, 2016
2 parents c14a05c + 0ed8647 commit 1084fd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/psych/yaml/loader.c
Expand Up @@ -239,8 +239,8 @@ yaml_parser_register_anchor(yaml_parser_t *parser,
if (strcmp((char *)alias_data->anchor, (char *)anchor) == 0) {
yaml_free(anchor);
return yaml_parser_set_composer_error_context(parser,
"found duplicate anchor; first occurence",
alias_data->mark, "second occurence", data.mark);
"found duplicate anchor; first occurrence",
alias_data->mark, "second occurrence", data.mark);
}
}

Expand Down

0 comments on commit 1084fd3

Please sign in to comment.