Strip annotations from the "parse" result

This way the value shown follows the current reporting options.
This commit is contained in:
John Wiegley 2009-02-15 17:54:08 -04:00
parent 3c7388918b
commit f232d558a8

View file

@ -95,7 +95,7 @@ value_t parse_command(call_scope_t& args)
out << std::endl << "--- Calculated value ---" << std::endl;
value_t result(expr.calc());
result.dump(out);
result.strip_annotations(report.what_to_keep()).dump(out);
out << std::endl;
return 0L;