diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-30 17:54:54 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-30 17:54:54 -0400 |
commit | cb6f7cd54e24aa31b0ba163dfb5680e4a7795228 (patch) | |
tree | ad7379258c0fc63935be3844f3f8ef34e37ad9f0 /src/xact.cc | |
parent | 00886a32e7edc85b30919519cd2ff3a54bbbd0fc (diff) | |
download | fork-ledger-cb6f7cd54e24aa31b0ba163dfb5680e4a7795228.tar.gz fork-ledger-cb6f7cd54e24aa31b0ba163dfb5680e4a7795228.tar.bz2 fork-ledger-cb6f7cd54e24aa31b0ba163dfb5680e4a7795228.zip |
Add a position_t object for tracking item positions
It is also optional, which is useful for generated items.
Diffstat (limited to 'src/xact.cc')
-rw-r--r-- | src/xact.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xact.cc b/src/xact.cc index 9f118ec2..be8c0214 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -499,7 +499,7 @@ void auto_xact_t::extend_xact(xact_base_t& xact, bool post_handler) IF_DEBUG("xact.extend") { DEBUG("xact.extend", - "Initial post on line " << initial_post->beg_line << ": " + "Initial post on line " << initial_post->pos->beg_line << ": " << "amount " << initial_post->amount << " (precision " << initial_post->amount.precision() << ")"); @@ -509,7 +509,7 @@ void auto_xact_t::extend_xact(xact_base_t& xact, bool post_handler) #endif DEBUG("xact.extend", - "Posting on line " << post->beg_line << ": " + "Posting on line " << post->pos->beg_line << ": " << "amount " << post->amount << ", amt " << amt << " (precision " << post->amount.precision() << " != " << amt.precision() << ")"); |