scanner/error: add InvalidBlockScalar, InvalidTab variants
This commit is contained in:
parent
a0d71ef644
commit
1b517b518f
|
@ -43,9 +43,17 @@ pub enum ScanError
|
|||
/// is not permitted
|
||||
InvalidPlainScalar,
|
||||
|
||||
/// A block scalar contained a character sequence that
|
||||
/// is not permitted
|
||||
InvalidBlockScalar,
|
||||
|
||||
/// A block entry was not expected or allowed
|
||||
InvalidBlockEntry,
|
||||
|
||||
/// A tab character '\t' was found in an invalid
|
||||
/// context, typically block indentation
|
||||
InvalidTab,
|
||||
|
||||
/// A mapping key was not expected or allowed
|
||||
InvalidKey,
|
||||
|
||||
|
|
Loading…
Reference in a new issue