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) ...@@ -46,7 +46,8 @@ void parse(std::istream& input)
std::cout << emitter.c_str() << "\n"; std::cout << emitter.c_str() << "\n";
} }
#else #else
// TODO: Parse with new API YAML::Node doc = YAML::Parse(input);
std::cout << doc << "\n";
#endif #endif
} catch(const YAML::Exception& e) { } catch(const YAML::Exception& e) {
std::cerr << e.what() << "\n"; 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