cleanup
This commit is contained in:
parent
a7d9cd83a8
commit
a25f13884c
1 changed files with 0 additions and 38 deletions
|
|
@ -25,44 +25,6 @@ int main()
|
|||
|
||||
std::cout << yamlout.c_str() << std::endl;
|
||||
|
||||
/*yy::HeaderParser::symbol_type token;
|
||||
extern const char* yytext;
|
||||
extern int yyleng;
|
||||
|
||||
for(;;)
|
||||
{
|
||||
auto tok = yylex();
|
||||
if(!tok.token())
|
||||
break;
|
||||
std::cout << tok.token() << ": " << std::string(yytext, yytext+yyleng) << "\n";
|
||||
}*/
|
||||
|
||||
/* YAML::Emitter out;
|
||||
out << YAML::BeginSeq;
|
||||
out << "foo" << "bar" << "baz";
|
||||
|
||||
YAML::Node node;
|
||||
node["quuxbar"] = "quux";
|
||||
node["quuxbaz"] = "quux";
|
||||
|
||||
YAML::Node node2 = {};//YAML::Node(YAML::NodeType::Sequence);
|
||||
//node[0] = "a";
|
||||
node2.push_back("a");
|
||||
node2.push_back("b");
|
||||
|
||||
node["quux"] = node2;
|
||||
|
||||
YAML::Node node3 = node2;
|
||||
node2 = {};
|
||||
|
||||
node3.push_back("c");
|
||||
|
||||
out << node;
|
||||
|
||||
out << YAML::EndSeq;
|
||||
|
||||
std::cout << out.c_str() << std::endl;*/
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in a new issue