Fixed double quote escapes (e.g., \n is now that instead of \x0a)

This commit is contained in:
Jesse Beder
2012-05-22 17:45:31 -05:00
parent ad275901b2
commit c664d50d5c
3 changed files with 20 additions and 18 deletions

View File

@@ -4,10 +4,7 @@
int main()
{
YAML::Emitter out;
out << YAML::Flow;
out << YAML::BeginSeq;
out << "a" << "b";
out << YAML::EndSeq;
out << YAML::DoubleQuoted << "Hello, World!\n";
std::cout << out.c_str() << "\n";
return 0;