mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2026-01-30 05:56:56 +00:00
Added flow map, simple key/value
This commit is contained in:
@@ -65,9 +65,17 @@ namespace YAML
|
||||
return;
|
||||
|
||||
assert(m_groups.top().type == GroupType::Map);
|
||||
assert(m_groups.top().flowType == FlowType::Block);
|
||||
m_groups.top().longKey = true;
|
||||
}
|
||||
|
||||
void EmitterState::ForceFlow()
|
||||
{
|
||||
assert(!m_groups.empty());
|
||||
if(m_groups.empty())
|
||||
return;
|
||||
|
||||
m_groups.top().flowType = FlowType::Flow;
|
||||
}
|
||||
|
||||
void EmitterState::StartedNode()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user