mirror of https://github.com/status-im/NimYAML.git
Fixes #49
This commit is contained in:
parent
78758c87ff
commit
e9658f22ec
|
@ -1064,7 +1064,7 @@ proc searchColon[T](lex: YamlLexer): bool =
|
||||||
recentAllowsAdjacent = lex.cur == ltQuotedScalar
|
recentAllowsAdjacent = lex.cur == ltQuotedScalar
|
||||||
result = false
|
result = false
|
||||||
|
|
||||||
proc skipPlainScalarContent(lex: YamlLexer) {.inline.} =
|
proc skipPlainScalarContent(lex: YamlLexer) {.closure.} =
|
||||||
while true:
|
while true:
|
||||||
inc(peek)
|
inc(peek)
|
||||||
case lex.at(T, peek)
|
case lex.at(T, peek)
|
||||||
|
|
Loading…
Reference in New Issue