summaryrefslogtreecommitdiff
path: root/le/le_file_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'le/le_file_parser.cpp')
-rw-r--r--le/le_file_parser.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/le/le_file_parser.cpp b/le/le_file_parser.cpp
index 2d5eed9..fe34857 100644
--- a/le/le_file_parser.cpp
+++ b/le/le_file_parser.cpp
@@ -1,6 +1,8 @@
#include "le_file.hpp"
+#include "otreestream.hpp"
+
#include <boost/program_options.hpp>
#include <boost/filesystem.hpp>
@@ -50,7 +52,8 @@ int main(int argc, char* argv[]) {
std::ifstream file(file_path.string());
auto x = le::parse_file(file);
- std::cout << x << std::endl;
+ binparse::otreestream treestream (std::cout);
+ treestream << x << std::endl;
return 0;
}