mirror of https://github.com/status-im/NimYAML.git
Properly continue parsing after quoted scalar
This commit is contained in:
parent
9bd12797d2
commit
cf5f614b21
|
@ -544,6 +544,7 @@ proc parse*(parser: YamlSequentialParser, s: Stream): YamlStream =
|
||||||
scalarCache = nil
|
scalarCache = nil
|
||||||
if ancestry.len > 0:
|
if ancestry.len > 0:
|
||||||
level = ancestry.pop()
|
level = ancestry.pop()
|
||||||
|
state = ypBlockLineStart
|
||||||
else:
|
else:
|
||||||
state = ypExpectingDocumentEnd
|
state = ypExpectingDocumentEnd
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue