mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-08 12:21:17 +00:00
Add flow/block style setting on Nodes
This commit is contained in:
@@ -41,8 +41,7 @@ void parse(std::istream& input) {
|
||||
try {
|
||||
YAML::Node doc = YAML::Load(input);
|
||||
std::cout << doc << "\n";
|
||||
}
|
||||
catch (const YAML::Exception& e) {
|
||||
} catch (const YAML::Exception& e) {
|
||||
std::cerr << e.what() << "\n";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user