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

This commit is contained in:
Jesse Beder
2009-06-25 03:05:09 +00:00
parent 81f5348ea9
commit a7b8879494

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;