diff options
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xact.cc b/src/xact.cc index 5013ec15..132f2ebf 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -431,8 +431,10 @@ void auto_xact_t::extend_xact(xact_base_t& xact, bool post_handler) << "amount " << initial_post->amount << " (precision " << initial_post->amount.precision() << ")"); +#if defined(DEBUG_ON) if (initial_post->amount.keep_precision()) DEBUG("xact.extend", " precision is kept"); +#endif DEBUG("xact.extend", "Posting on line " << post->beg_line << ": " @@ -440,10 +442,12 @@ void auto_xact_t::extend_xact(xact_base_t& xact, bool post_handler) << " (precision " << post->amount.precision() << " != " << amt.precision() << ")"); +#if defined(DEBUG_ON) if (post->amount.keep_precision()) DEBUG("xact.extend", " precision is kept"); if (amt.keep_precision()) DEBUG("xact.extend", " amt precision is kept"); +#endif } account_t * account = post->account; |