diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-03 21:38:53 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-03 21:38:53 -0400 |
commit | bbdab793029f156425180282e0e7a2a7090c1c4a (patch) | |
tree | 55ed87b2ed57b2da5ecf17ca0dd4ac53bd2988c4 /textual.cc | |
parent | 3e4b01694070be141728d19f505926b277ac70b3 (diff) | |
download | fork-ledger-bbdab793029f156425180282e0e7a2a7090c1c4a.tar.gz fork-ledger-bbdab793029f156425180282e0e7a2a7090c1c4a.tar.bz2 fork-ledger-bbdab793029f156425180282e0e7a2a7090c1c4a.zip |
Rearranged the code a bit, breaking walk.cc into several different files:
compare compare_items<T>
handler item_handler<T>
iterators used to iterators sets of journal objects
filters derived from item_handler, they morph the result set
output derived from item_handler, these do the printing
Also, created a new 'help' files which contains just Ledger's help text.
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -306,7 +306,7 @@ xact_t * parse_xact(char * line, account_t * account, entry_t * entry = NULL) if (entry != NULL) { // Add this amount to the related account now - account_xdata_t& xdata(account_xdata(*xact->account)); + account_t::xdata_t& xdata(xact->account->xdata()); if (! xact->amount.is_null()) { if (xdata.value.is_null()) |