path: root/ext/psych/yaml/scanner.c
diff options
authorRyuta Kamizono <>2021-04-26 02:25:11 +0900
committerHiroshi SHIBATA <>2021-05-10 19:19:35 +0900
commit73136ebbde4faee648420e13a7edf7cfd092a6ea (patch)
tree20ef87feb9e65621fb54ca3c8d20cdc39b819209 /ext/psych/yaml/scanner.c
parentb7250026dd03de457cf7d36b6918e540ca2ca1c8 (diff)
[ruby/psych] Fix some typos [ci skip]
Diffstat (limited to 'ext/psych/yaml/scanner.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/psych/yaml/scanner.c b/ext/psych/yaml/scanner.c
index 6acee7d465..bb5d201274 100644
--- a/ext/psych/yaml/scanner.c
+++ b/ext/psych/yaml/scanner.c
@@ -273,7 +273,7 @@
* The tokens BLOCK-SEQUENCE-START and BLOCK-MAPPING-START denote indentation
* increase that precedes a block collection (cf. the INDENT token in Python).
* The token BLOCK-END denote indentation decrease that ends a block collection
- * (cf. the DEDENT token in Python). However YAML has some syntax pecularities
+ * (cf. the DEDENT token in Python). However YAML has some syntax peculiarities
* that makes detections of these tokens more complex.
* The tokens BLOCK-ENTRY, KEY, and VALUE are used to represent the indicators
@@ -3287,7 +3287,7 @@ yaml_parser_scan_flow_scalar(yaml_parser_t *parser, yaml_token_t *token,
/* Check if we are at the end of the scalar. */
- /* Fix for crash unitialized value crash
+ /* Fix for crash uninitialized value crash
* Credit for the bug and input is to OSS Fuzz
* Credit for the fix to Alex Gaynor