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

This commit is contained in:
Jesse Beder
2010-10-22 03:53:33 +00:00
parent 1e4210401f
commit 6b7cb45ac8
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;