summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parser.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/parser.cc b/parser.cc
index c96f2435..debe5558 100644
--- a/parser.cc
+++ b/parser.cc
@@ -182,11 +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);
}
+ // Clear out what was set during the textual parsing phase
+ clear_account_xdata acct_cleaner;
+ walk_accounts(*journal->master, acct_cleaner);
}
VALIDATE(journal->valid());