Switched YAML::Parse to YAML::Load, and added LoadAll

This commit is contained in:
Jesse Beder
2011-09-13 14:24:47 -05:00
parent 5be19ccbfd
commit e3d5ec189d
4 changed files with 146 additions and 117 deletions

View File

@@ -46,7 +46,7 @@ void parse(std::istream& input)
std::cout << emitter.c_str() << "\n";
}
#else
YAML::Node doc = YAML::Parse(input);
YAML::Node doc = YAML::Load(input);
std::cout << doc << "\n";
#endif
} catch(const YAML::Exception& e) {