summaryrefslogtreecommitdiff
path: root/ext/psych/yaml/yaml.h
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2021-04-26 02:25:11 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-10 19:19:35 +0900
commit73136ebbde4faee648420e13a7edf7cfd092a6ea (patch)
tree20ef87feb9e65621fb54ca3c8d20cdc39b819209 /ext/psych/yaml/yaml.h
parentb7250026dd03de457cf7d36b6918e540ca2ca1c8 (diff)
[ruby/psych] Fix some typos [ci skip]
https://github.com/ruby/psych/commit/98617e55a1
Diffstat (limited to 'ext/psych/yaml/yaml.h')
-rw-r--r--ext/psych/yaml/yaml.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/psych/yaml/yaml.h b/ext/psych/yaml/yaml.h
index 914ea045d11..f1b7bfde20c 100644
--- a/ext/psych/yaml/yaml.h
+++ b/ext/psych/yaml/yaml.h
@@ -1095,7 +1095,7 @@ typedef struct yaml_parser_s {
yaml_error_type_t error;
/** Error description. */
const char *problem;
- /** The byte about which the problem occured. */
+ /** The byte about which the problem occurred. */
size_t problem_offset;
/** The problematic value (@c -1 is none). */
int problem_value;
@@ -1335,7 +1335,7 @@ yaml_parser_delete(yaml_parser_t *parser);
* Set a string input.
*
* Note that the @a input pointer must be valid while the @a parser object
- * exists. The application is responsible for destroing @a input after
+ * exists. The application is responsible for destroying @a input after
* destroying the @a parser.
*
* @param[in,out] parser A parser object.
@@ -1950,7 +1950,7 @@ yaml_emitter_close(yaml_emitter_t *emitter);
/**
* Emit a YAML document.
*
- * The documen object may be generated using the yaml_parser_load() function
+ * The document object may be generated using the yaml_parser_load() function
* or the yaml_document_initialize() function. The emitter takes the
* responsibility for the document object and destroys its content after
* it is emitted. The document object is destroyed even if the function fails.