mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Added newlines, fixed map/map
This commit is contained in:
@@ -249,11 +249,15 @@ namespace YAML
|
||||
{
|
||||
if(!good())
|
||||
return;
|
||||
|
||||
PrepareNode(m_pState->NextGroupType(GroupType::None));
|
||||
m_stream << "\n";
|
||||
m_pState->SetNonContent();
|
||||
}
|
||||
|
||||
bool Emitter::CanEmitNewline() const
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Put the stream in a state so we can simply write the next node
|
||||
|
Reference in New Issue
Block a user