This commit is contained in:
Felix Krause 2020-07-05 22:21:43 +02:00
parent 048183d786
commit 060fc07803
2 changed files with 5 additions and 3 deletions

View File

@ -16,7 +16,7 @@ import taglib, stream, private/lex, private/internal
when defined(nimNoNil):
{.experimental: "notnil".}
type
WarningCallback* = proc(line, column: int, lineContent: string,
message: string)
@ -946,8 +946,10 @@ parserState flow:
result = true
state = objectEnd
stored = flowAfterObject
of ltEmptyLine:
c.advance()
else:
raise c.generateError("Unexpected toked: " & $c.lex.cur)
raise c.generateError("Unexpected token: " & $c.lex.cur)
parserState leaveFlowMap:
case c.level.kind

View File

@ -17,7 +17,7 @@ import private/internal, taglib
when defined(nimNoNil):
{.experimental: "notnil".}
when defined(yamlScalarRepInd):
type ScalarRepresentationIndicator* = enum
srPlain, srSingleQuoted, srDoubleQuoted, srLiteral, srFolded