summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/yaml.h2
-rw-r--r--src/scanner.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/yaml.h b/include/yaml.h
index a9fb573..97f655a 100644
--- a/include/yaml.h
+++ b/include/yaml.h
@@ -232,7 +232,7 @@ typedef enum yaml_token_type_e {
/** A BLOCK-SEQUENCE-START token. */
YAML_BLOCK_SEQUENCE_START_TOKEN,
- /** A BLOCK-SEQUENCE-END token. */
+ /** A BLOCK-MAPPING-START token. */
YAML_BLOCK_MAPPING_START_TOKEN,
/** A BLOCK-END token. */
YAML_BLOCK_END_TOKEN,
diff --git a/src/scanner.c b/src/scanner.c
index b6f5185..1ff262f 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -38,8 +38,8 @@
* BLOCK-END # Indentation decrease.
* FLOW-SEQUENCE-START # '['
* FLOW-SEQUENCE-END # ']'
- * BLOCK-SEQUENCE-START # '{'
- * BLOCK-SEQUENCE-END # '}'
+ * FLOW-MAPPING-START # '{'
+ * FLOW-MAPPING-END # '}'
* BLOCK-ENTRY # '-'
* FLOW-ENTRY # ','
* KEY # '?' or nothing (simple keys).