From 56d6df6123d84abe408e16fcecd7a7600eb33055 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 18 Nov 2009 23:15:49 -0500 Subject: Decompile all amount expressions for accounts reports This happens after running through all the post handlers, before running any of the account handlers. --- src/report.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/report.cc b/src/report.cc index ed3238bc..92525565 100644 --- a/src/report.cc +++ b/src/report.cc @@ -278,6 +278,12 @@ void report_t::accounts_report(acct_handler_ptr handler) chain_post_handlers(*this, post_handler_ptr(new ignore_posts), true); pass_down_posts(chain, walker); + HANDLER(amount_).expr.mark_uncompiled(); + HANDLER(total_).expr.mark_uncompiled(); + HANDLER(display_amount_).expr.mark_uncompiled(); + HANDLER(display_total_).expr.mark_uncompiled(); + HANDLER(revalued_total_).expr.mark_uncompiled(); + scoped_ptr iter; if (! HANDLED(sort_)) { iter.reset(new basic_accounts_iterator(*session.journal->master)); -- cgit v1.2.3