Refactored bool emitting to make it 1) correct for the short bool form and 2) not barf on early versions of VS

This commit is contained in:
Jesse Beder
2011-03-02 20:55:05 +00:00
parent 1e0c36c5cc
commit 39c396ab01
3 changed files with 79 additions and 26 deletions

View File

@@ -85,6 +85,7 @@ namespace YAML
void EmitKindTag();
void EmitTag(bool verbatim, const _Tag& tag);
const char *ComputeFullBoolName(bool b) const;
bool CanEmitNewline() const;
private: