From f232d558a820adea13507d4a6809bd29324b19f5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 15 Feb 2009 17:54:08 -0400 Subject: Strip annotations from the "parse" result This way the value shown follows the current reporting options. --- src/precmd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/precmd.cc b/src/precmd.cc index 274b77e2..6e6ea9cd 100644 --- a/src/precmd.cc +++ b/src/precmd.cc @@ -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; -- cgit v1.2.3