summaryrefslogtreecommitdiff
path: root/ext/psych/yaml/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/yaml/loader.c')
-rw-r--r--ext/psych/yaml/loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/psych/yaml/loader.c b/ext/psych/yaml/loader.c
index 871149a..3ba99f0 100644
--- a/ext/psych/yaml/loader.c
+++ b/ext/psych/yaml/loader.c
@@ -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);
}
}