diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-07 00:04:19 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-07 00:04:19 -0400 |
commit | e5befb01026d169d1a43bf7b3024d6391d5aee74 (patch) | |
tree | 6aab00f48bc827c002072d5ecee0a4cf8dd7ce5d /src/precmd.cc | |
parent | b4ae22b2371afb23bbf64a4ae45a8403d230d51d (diff) | |
download | fork-ledger-e5befb01026d169d1a43bf7b3024d6391d5aee74.tar.gz fork-ledger-e5befb01026d169d1a43bf7b3024d6391d5aee74.tar.bz2 fork-ledger-e5befb01026d169d1a43bf7b3024d6391d5aee74.zip |
Fixed the debug output of the pre-command "args".
Diffstat (limited to 'src/precmd.cc')
-rw-r--r-- | src/precmd.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/precmd.cc b/src/precmd.cc index 001416a6..9dcdae15 100644 --- a/src/precmd.cc +++ b/src/precmd.cc @@ -46,13 +46,12 @@ value_t parse_command(call_scope_t& args) report_t& report(find_scope<report_t>(args)); std::ostream& out(report.output_stream); - out << "--- Input text ---" << std::endl; + out << "--- Input expression ---" << std::endl; out << *arg << std::endl; out << std::endl << "--- Text as parsed ---" << std::endl; expr_t expr(*arg); - expr.print(out); - out << std::endl; + expr.dump(out); out << std::endl << "--- Expression tree ---" << std::endl; expr.dump(out); |