From 2e849b3651d1ddca87c77b9f6121dd2d6002d6a8 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 28 Jun 2018 16:02:54 +0000 Subject: [PATCH] Fix token name typos in comments --- include/yaml.h | 2 +- src/scanner.c | 4 ++-- 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). -- 2.45.1