diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-02 22:45:35 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-02 22:45:35 -0400 |
commit | 5a90fe735772fd4d52216ae76ddad893bce177e6 (patch) | |
tree | 7f0f70fed0d3ae7deb5770a94ca451953b730625 /qif.cc | |
parent | 7b3c8c03c56fa90f8e110ed14ce3af27fb49b458 (diff) | |
download | ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.gz ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.tar.bz2 ledger-5a90fe735772fd4d52216ae76ddad893bce177e6.zip |
Moved xact_xdata_t into xact_t itself, as a set of "extended data" that might
be gathered during reporting.
Removed the references to accounts and such from the mask logic, which means
that the value expression "acount =~ /foo/" is needed in place of just
"/foo/".
Diffstat (limited to 'qif.cc')
-rw-r--r-- | qif.cc | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -34,21 +34,21 @@ bool qif_parser_t::test(std::istream& in) const } unsigned int qif_parser_t::parse(std::istream& in, - session_t& session, - journal_t& journal, + session_t& session, + journal_t& journal, account_t * master, const path * original_file) { std::auto_ptr<entry_t> entry; std::auto_ptr<amount_t> amount; - xact_t * xact; - unsigned int count = 0; - account_t * misc = NULL; - commodity_t * def_commodity = NULL; - bool saw_splits = false; - bool saw_category = false; - xact_t * total = NULL; + xact_t * xact; + unsigned int count = 0; + account_t * misc = NULL; + commodity_t * def_commodity = NULL; + bool saw_splits = false; + bool saw_category = false; + xact_t * total = NULL; entry.reset(new entry_t); xact = new xact_t(master); |