diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-27 18:37:55 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-27 18:37:55 -0400 |
commit | c93175183e790cf7f1100dfd554197161a69e6fe (patch) | |
tree | ab83255a7c883047a6e3a36bbb2097cc13c8f216 /parser.cc | |
parent | e5a8bbf997f14ea2edf52d6dfe733969cc67589b (diff) | |
download | fork-ledger-c93175183e790cf7f1100dfd554197161a69e6fe.tar.gz fork-ledger-c93175183e790cf7f1100dfd554197161a69e6fe.tar.bz2 fork-ledger-c93175183e790cf7f1100dfd554197161a69e6fe.zip |
Added the concept of "balance setting transactions".
Diffstat (limited to 'parser.cc')
-rw-r--r-- | parser.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -182,6 +182,10 @@ unsigned int parse_ledger_data(config_t& config, journal, acct); if (! journal->price_db.empty()) journal->sources.push_back(journal->price_db); + + // Clear out what was set during the textual parsing phase + clear_account_xdata acct_cleaner; + walk_accounts(*journal->master, acct_cleaner); } } |