From c93175183e790cf7f1100dfd554197161a69e6fe Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 27 Jul 2008 18:37:55 -0400 Subject: Added the concept of "balance setting transactions". --- parser.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'parser.cc') diff --git a/parser.cc b/parser.cc index 7cb65519..c96f2435 100644 --- a/parser.cc +++ b/parser.cc @@ -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); } } -- cgit v1.2.3