Commit 03fc8372 authored by Jesse Beder's avatar Jesse Beder
Browse files

Set up util/parse for the new API

parent 80cf3c98
......@@ -46,7 +46,8 @@ void parse(std::istream& input)
std::cout << emitter.c_str() << "\n";
}
#else
// TODO: Parse with new API
YAML::Node doc = YAML::Parse(input);
std::cout << doc << "\n";
#endif
} catch(const YAML::Exception& e) {
std::cerr << e.what() << "\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment