From 307a93318029837f1a72e1b6cb5a8000531c875f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 1 Feb 2009 01:47:36 -0400 Subject: When outputting a calculated value expression with "parse", show XML too. --- src/report.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3