diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-17 01:50:38 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-17 01:50:38 -0400 |
commit | cd7d7e5b88d0cdca6b183c3b34cea2008136e0ec (patch) | |
tree | ec38b784d8cf2bae405d657601e22f96188c4cfe /valexpr.cc | |
parent | 3a445455409af9475411d2d12220ae128033cb22 (diff) | |
download | fork-ledger-cd7d7e5b88d0cdca6b183c3b34cea2008136e0ec.tar.gz fork-ledger-cd7d7e5b88d0cdca6b183c3b34cea2008136e0ec.tar.bz2 fork-ledger-cd7d7e5b88d0cdca6b183c3b34cea2008136e0ec.zip |
slight fixes
Diffstat (limited to 'valexpr.cc')
-rw-r--r-- | valexpr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -886,7 +886,8 @@ void dump_value_expr(std::ostream& out, const value_expr_t * node) int main(int argc, char *argv[]) { - ledger::dump_value_exp(std::cout, ledger::parse_value_expr(argv[1])); + std::auto_ptr<ledger::value_expr_t> expr(ledger::parse_value_expr(argv[1])); + ledger::dump_value_expr(std::cout, expr.get()); std::cout << std::endl; } |