summaryrefslogtreecommitdiff
path: root/src/precmd.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-09 18:46:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-09 18:46:01 -0400
commit3c3606aa0dc36d4d2a3d4786b1658f255587a1f0 (patch)
tree8b6b80294bb4deadb1b9b527e5f2118d8643e334 /src/precmd.cc
parent75c7fbf23e76d901b539fbcf2b35723a2a50787d (diff)
downloadfork-ledger-3c3606aa0dc36d4d2a3d4786b1658f255587a1f0.tar.gz
fork-ledger-3c3606aa0dc36d4d2a3d4786b1658f255587a1f0.tar.bz2
fork-ledger-3c3606aa0dc36d4d2a3d4786b1658f255587a1f0.zip
Break libledger_data's dependency on session_t.
Diffstat (limited to 'src/precmd.cc')
-rw-r--r--src/precmd.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/precmd.cc b/src/precmd.cc
index b4144779..16b7e5f1 100644
--- a/src/precmd.cc
+++ b/src/precmd.cc
@@ -80,6 +80,7 @@ value_t parse_command(call_scope_t& args)
{
std::istringstream in(str);
report.session.journal->parse(in, report.session, NULL, NULL);
+ report.session.clean_accounts();
}
}
entry_t * first = report.session.journal->entries.front();