"...composable_kernel.git" did not exist on "29e1829f498da08cb7f8a0e392a35a9417c52a04"
Commit cc559956 authored by Jesse Beder's avatar Jesse Beder
Browse files

Added bool, char, binary

parent 879f96d2
...@@ -369,7 +369,6 @@ namespace YAML ...@@ -369,7 +369,6 @@ namespace YAML
void Emitter::BlockMapPrepareKey(EmitterNodeType::value child) void Emitter::BlockMapPrepareKey(EmitterNodeType::value child)
{ {
const unsigned curIndent = m_pState->CurIndent(); const unsigned curIndent = m_pState->CurIndent();
const unsigned nextIndent = curIndent + m_pState->CurGroupIndent();
const std::size_t childCount = m_pState->CurGroupChildCount(); const std::size_t childCount = m_pState->CurGroupChildCount();
if(child == EmitterNodeType::None) if(child == EmitterNodeType::None)
...@@ -520,6 +519,8 @@ namespace YAML ...@@ -520,6 +519,8 @@ namespace YAML
if(!good()) if(!good())
return *this; return *this;
PrepareNode(EmitterNodeType::Scalar);
m_stream << ComputeFullBoolName(b);
m_pState->StartedScalar(); m_pState->StartedScalar();
return *this; return *this;
...@@ -530,6 +531,8 @@ namespace YAML ...@@ -530,6 +531,8 @@ namespace YAML
if(!good()) if(!good())
return *this; return *this;
PrepareNode(EmitterNodeType::Scalar);
m_stream << ch;
m_pState->StartedScalar(); m_pState->StartedScalar();
return *this; return *this;
...@@ -635,6 +638,7 @@ namespace YAML ...@@ -635,6 +638,7 @@ namespace YAML
if(!good()) if(!good())
return *this; return *this;
// TODO
m_pState->StartedScalar(); m_pState->StartedScalar();
return *this; return *this;
...@@ -647,6 +651,8 @@ namespace YAML ...@@ -647,6 +651,8 @@ namespace YAML
if(!good()) if(!good())
return *this; return *this;
PrepareNode(EmitterNodeType::Scalar);
Utils::WriteBinary(m_stream, binary);
m_pState->StartedScalar(); m_pState->StartedScalar();
return *this; return *this;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment