Fixed doc start/end

This commit is contained in:
Jesse Beder
2012-05-22 16:53:40 -05:00
parent bc884061e2
commit 2c2b788391
3 changed files with 19 additions and 1 deletions

View File

@@ -111,6 +111,20 @@ namespace YAML
return EmitterNodeType::None;
}
void EmitterState::StartedDoc()
{
m_hasAnchor = false;
m_hasTag = false;
m_hasNonContent = false;
}
void EmitterState::EndedDoc()
{
m_hasAnchor = false;
m_hasTag = false;
m_hasNonContent = false;
}
void EmitterState::StartedScalar()
{
StartedNode();