mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Fixed bug that didn't allow multiple docs in a stream (using only "---")
This commit is contained in:
@@ -59,7 +59,7 @@ namespace YAML
|
|||||||
// DocStart
|
// DocStart
|
||||||
void Scanner::ScanDocStart()
|
void Scanner::ScanDocStart()
|
||||||
{
|
{
|
||||||
PopIndentTo(INPUT.column);
|
PopIndentTo(-1);
|
||||||
VerifyAllSimpleKeys();
|
VerifyAllSimpleKeys();
|
||||||
m_simpleKeyAllowed = false;
|
m_simpleKeyAllowed = false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user