From 42f43b7686038e4cbca16d8d2118b139544e6de3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 13 Apr 2008 03:35:00 -0400 Subject: Check in all changes made so far toward 3.0. --- ofx.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'ofx.cc') diff --git a/ofx.cc b/ofx.cc index 8b53b284..9a74c750 100644 --- a/ofx.cc +++ b/ofx.cc @@ -1,3 +1,6 @@ +#ifdef USE_PCH +#include "pch.h" +#else #include "journal.h" #include "ofx.h" #include "format.h" @@ -7,6 +10,7 @@ #include "util.h" #include +#endif namespace ledger { @@ -116,8 +120,10 @@ int ofx_proc_transaction_cb(struct OfxTransactionData data, if (! curr_journal->add_entry(entry)) { print_entry(std::cerr, *entry); +#if 0 // jww (2005-02-09): uncomment - //have_error = "The above entry does not balance"; + have_error = "The above entry does not balance"; +#endif delete entry; return -1; } @@ -195,7 +201,6 @@ bool ofx_parser_t::test(std::istream& in) const } unsigned int ofx_parser_t::parse(std::istream& in, - config_t& config, journal_t * journal, account_t * master, const std::string * original_file) -- cgit v1.2.3