diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-15 17:54:08 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-15 17:54:08 -0400 |
commit | f232d558a820adea13507d4a6809bd29324b19f5 (patch) | |
tree | 6293f4d8006305a2cfa2ffc9e395dbbfa14c2a2a /src | |
parent | 3c7388918b2df7891a35b711e30ba492d1a6e9a8 (diff) | |
download | fork-ledger-f232d558a820adea13507d4a6809bd29324b19f5.tar.gz fork-ledger-f232d558a820adea13507d4a6809bd29324b19f5.tar.bz2 fork-ledger-f232d558a820adea13507d4a6809bd29324b19f5.zip |
Strip annotations from the "parse" result
This way the value shown follows the current reporting options.
Diffstat (limited to 'src')
-rw-r--r-- | src/precmd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |