Fixed bug that didn't allow multiple docs in a stream (using only "---")

This commit is contained in:
jbeder
2009-06-25 03:05:09 +00:00
parent 8aefb675a2
commit aa959e6705

View File

@@ -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;