From: Viktor Szakats Date: Thu, 28 Jun 2018 16:02:54 +0000 (+0000) Subject: Fix token name typos in comments X-Git-Tag: upstream/0.2.2^2~18 X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/commitdiff_plain/2e849b3651d1ddca87c77b9f6121dd2d6002d6a8 Fix token name typos in comments --- 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).