summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/report.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc
index 4405b882..f33ece1f 100644
--- a/src/report.cc
+++ b/src/report.cc
@@ -493,9 +493,13 @@ namespace {
expr.dump(out);
out << std::endl << "--- Calculated value ---" << std::endl;
- expr.calc(args).print(out);
+ value_t result(expr.calc(args));
+ result.print(out);
out << std::endl;
+ out << std::endl << "--- Calculated value as XML ---" << std::endl;
+ result.write_xml(out);
+
return 0L;
}