diff options
author | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:00 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:00 -0400 |
commit | 42f43b7686038e4cbca16d8d2118b139544e6de3 (patch) | |
tree | 52c5473401c57282242d66b8dd75f4c07bf41d07 /ofx.cc | |
parent | c7b4370ff9c8ab5c96f15b1e712e6db6bdab6324 (diff) | |
download | fork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.tar.gz fork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.tar.bz2 fork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.zip |
Check in all changes made so far toward 3.0.
Diffstat (limited to 'ofx.cc')
-rw-r--r-- | ofx.cc | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 <libofx.h> +#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) |