Added flow seq

This commit is contained in:
Jesse Beder
2012-05-22 15:42:45 -05:00
parent 2670ce8aaf
commit b8a87c43bc
4 changed files with 48 additions and 4 deletions

View File

@@ -188,6 +188,14 @@ namespace YAML
return m_groups.empty() ? false : m_groups.top().longKey;
}
int EmitterState::LastIndent() const
{
if(m_groups.size() <= 1)
return 0;
return m_curIndent - m_groups.top(-1).indent;
}
void EmitterState::ClearModifiedSettings()
{
m_modifiedSettings.clear();