Added tags and anchors

This commit is contained in:
Jesse Beder
2012-05-21 23:19:29 -05:00
parent 91eac5d93d
commit 3cae26a75e
4 changed files with 69 additions and 14 deletions

View File

@@ -43,6 +43,16 @@ namespace YAML
SetMapKeyFormat(value, FmtScope::Local);
}
void EmitterState::SetAnchor()
{
m_hasAnchor = true;
}
void EmitterState::SetTag()
{
m_hasTag = true;
}
void EmitterState::BeginNode()
{
if(!m_groups.empty())