scanner/error: add InvalidBlockEntry

This commit is contained in:
Paul Stemmet 2021-07-27 21:06:27 +00:00 committed by Paul Stemmet
parent e24fe38a7e
commit 5ec3d0ae2b

View file

@ -39,6 +39,9 @@ pub enum ScanError
/// A flow scalar was invalid for some reason /// A flow scalar was invalid for some reason
InvalidFlowScalar, InvalidFlowScalar,
/// A block entry was not expected or allowed
InvalidBlockEntry,
/// A character that was not valid for the escape /// A character that was not valid for the escape
/// sequence was encountered /// sequence was encountered
UnknownEscape, UnknownEscape,