Added more tests for the newline, and disallowed newlines after implicit block keys

This commit is contained in:
jbeder
2010-10-22 03:53:33 +00:00
parent 59745a4cff
commit cb8eee46f0
5 changed files with 58 additions and 8 deletions

View File

@@ -82,6 +82,8 @@ namespace YAML
void EmitKindTag();
void EmitTag(bool verbatim, const _Tag& tag);
bool CanEmitNewline() const;
private:
ostream m_stream;
std::auto_ptr <EmitterState> m_pState;