summaryrefslogtreecommitdiff
path: root/parse.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2003-10-11 23:21:14 +0000
committerJohn Wiegley <johnw@newartisans.com>2003-10-11 23:21:14 +0000
commitfb4fed00ba3dede4c649e21ce64cf29a8244c8bd (patch)
tree7107662d45768b11ccd9b9c24f69798155d001d2 /parse.cc
parentac8a1b741aa975e7957930d2ad89c0bec9675f7f (diff)
downloadfork-ledger-fb4fed00ba3dede4c649e21ce64cf29a8244c8bd.tar.gz
fork-ledger-fb4fed00ba3dede4c649e21ce64cf29a8244c8bd.tar.bz2
fork-ledger-fb4fed00ba3dede4c649e21ce64cf29a8244c8bd.zip
c
Diffstat (limited to 'parse.cc')
-rw-r--r--parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.cc b/parse.cc
index 5b1ed5ab..4af13a43 100644
--- a/parse.cc
+++ b/parse.cc
@@ -188,7 +188,7 @@ transaction * parse_transaction(std::istream& in, book * ledger)
entry * parse_entry(std::istream& in, book * ledger)
{
- entry * curr = new entry;
+ entry * curr = new entry(ledger);
static char line[MAX_LINE + 1];
in.getline(line, MAX_LINE);