diff --git a/private/parser.nim b/private/parser.nim index 2de1014..8a233b6 100644 --- a/private/parser.nim +++ b/private/parser.nim @@ -472,9 +472,8 @@ proc parse*(parser: YamlSequentialParser, s: Stream): YamlStream = assert level.mode == mImplicitBlockMapKey leaveMoreIndentedLevels() case level.mode - of mUnknown, mImplicitBlockMapKey, mImplicitBlockMapValue, - mExplicitBlockMapKey, mExplicitBlockMapValue, - mBlockSequenceItem: + of mUnknown, mImplicitBlockMapKey, mBlockMapValue, + mExplicitBlockMapKey, mBlockSequenceItem: state = ypBlockAfterAlias else: raiseError("Unexpected alias") @@ -1012,4 +1011,4 @@ proc parse*(parser: YamlSequentialParser, s: Stream): YamlStream = yieldUnexpectedToken("document end") token = nextToken(lex) if token == tError: - raiseError("Lexer error: " & lex.content) \ No newline at end of file + raiseError("Lexer error: " & lex.content)