summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-07 00:04:19 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-07 00:04:19 -0400
commite5befb01026d169d1a43bf7b3024d6391d5aee74 (patch)
tree6aab00f48bc827c002072d5ecee0a4cf8dd7ce5d /src/precmd.cc
parentb4ae22b2371afb23bbf64a4ae45a8403d230d51d (diff)
downloadfork-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.cc5
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);