When outputting a calculated value expression with "parse", show XML too.
This commit is contained in:
parent
e4b1359959
commit
307a933180
1 changed files with 5 additions and 1 deletions
|
|
@ -493,9 +493,13 @@ namespace {
|
||||||
expr.dump(out);
|
expr.dump(out);
|
||||||
|
|
||||||
out << std::endl << "--- Calculated value ---" << std::endl;
|
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;
|
||||||
|
|
||||||
|
out << std::endl << "--- Calculated value as XML ---" << std::endl;
|
||||||
|
result.write_xml(out);
|
||||||
|
|
||||||
return 0L;
|
return 0L;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue