From 5ec3d0ae2b463abf47f78b8f19308d69228807e5 Mon Sep 17 00:00:00 2001 From: Bazaah Date: Tue, 27 Jul 2021 21:06:27 +0000 Subject: [PATCH] scanner/error: add InvalidBlockEntry --- src/scanner/error.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scanner/error.rs b/src/scanner/error.rs index f970a13..351487e 100644 --- a/src/scanner/error.rs +++ b/src/scanner/error.rs @@ -39,6 +39,9 @@ pub enum ScanError /// A flow scalar was invalid for some reason InvalidFlowScalar, + /// A block entry was not expected or allowed + InvalidBlockEntry, + /// A character that was not valid for the escape /// sequence was encountered UnknownEscape,