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
void Scanner::ScanDocStart()
{
PopIndentTo(INPUT.column);
PopIndentTo(-1);
VerifyAllSimpleKeys();
m_simpleKeyAllowed = false;