summaryrefslogtreecommitdiff
path: root/qif.cc
diff options
context:
space:
mode:
Diffstat (limited to 'qif.cc')
-rw-r--r--qif.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/qif.cc b/qif.cc
index 49c55e23..afc8d70a 100644
--- a/qif.cc
+++ b/qif.cc
@@ -228,11 +228,15 @@ unsigned int qif_parser_t::parse(std::istream& in,
count++;
}
+ // reset things for the next entry
entry.reset(new entry_t);
xact = new transaction_t(master);
entry->add_transaction(xact);
- beg_line = 0; // reset for next entry
+ saw_splits = false;
+ saw_category = false;
+ total = NULL;
+ beg_line = 0;
break;
}