Merged emitter refactor from core

This commit is contained in:
Jesse Beder
2012-05-23 15:30:03 -05:00
20 changed files with 11742 additions and 1036 deletions

View File

@@ -1,2 +1,5 @@
add_executable(parse parse.cpp)
target_link_libraries(parse yaml-cpp)
add_executable(sandbox sandbox.cpp)
target_link_libraries(sandbox yaml-cpp)

13
util/sandbox.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include "yaml-cpp/yaml.h"
#include <iostream>
int main()
{
YAML::Emitter out;
out << YAML::BeginSeq;
out << ':';
out << YAML::EndSeq;
std::cout << out.c_str() << "\n";
return 0;
}