From e5befb01026d169d1a43bf7b3024d6391d5aee74 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 7 Feb 2009 00:04:19 -0400 Subject: Fixed the debug output of the pre-command "args". --- src/precmd.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/precmd.cc') 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(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); -- cgit v1.2.3