summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-08 18:24:56 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:29 -0400
commite32d9e64a768f276e04fe79c14f1b28d88bd4185 (patch)
tree198f0b5a65a2eeb6f1f0a61dc59bf5111e7ae50d /format.h
parentb737cd8e6dd185beeae902caa4eee6c4cee8bc36 (diff)
downloadfork-ledger-e32d9e64a768f276e04fe79c14f1b28d88bd4185.tar.gz
fork-ledger-e32d9e64a768f276e04fe79c14f1b28d88bd4185.tar.bz2
fork-ledger-e32d9e64a768f276e04fe79c14f1b28d88bd4185.zip
Added much better error location.
Diffstat (limited to 'format.h')
-rw-r--r--format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/format.h b/format.h
index a4620aeb..e125bcb9 100644
--- a/format.h
+++ b/format.h
@@ -133,7 +133,8 @@ class format_entries : public format_transactions
virtual void operator()(transaction_t& xact);
};
-void print_entry(std::ostream& out, const entry_t& entry);
+void print_entry(std::ostream& out, const entry_base_t& entry,
+ const std::string& prefix = "");
bool disp_subaccounts_p(const account_t& account,
const item_predicate<account_t>& disp_pred,