From fb538c94908371e39e4fb60c39bba2fcca1799c8 Mon Sep 17 00:00:00 2001 From: beder Date: Sat, 10 Sep 2011 23:03:02 -0500 Subject: [PATCH] Set up util/parse for the new API --- util/parse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/parse.cpp b/util/parse.cpp index c4e82e8..1ca20e3 100644 --- a/util/parse.cpp +++ b/util/parse.cpp @@ -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";