diff options
author | John Wiegley <johnw@newartisans.com> | 2006-02-16 01:01:38 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:23 -0400 |
commit | 0a8b36de3f32f360ffdfc7c6d2e07b11345c7a1d (patch) | |
tree | ab9f540eb655848acc8f324afe171775affe2f39 /xml.cc | |
parent | 06b7e9d9043a501d24f4b2a5b7f2242ff3cebe24 (diff) | |
download | fork-ledger-0a8b36de3f32f360ffdfc7c6d2e07b11345c7a1d.tar.gz fork-ledger-0a8b36de3f32f360ffdfc7c6d2e07b11345c7a1d.tar.bz2 fork-ledger-0a8b36de3f32f360ffdfc7c6d2e07b11345c7a1d.zip |
Made several changes to the parsing infrastructure to allow passing
the "config_t" object around. This is needed for parsing option
settings in the initialization file.
Diffstat (limited to 'xml.cc')
-rw-r--r-- | xml.cc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -175,10 +175,11 @@ bool xml_parser_t::test(std::istream& in) const return true; } -unsigned int xml_parser_t::parse(std::istream& in, - journal_t * journal, - account_t * master, - const std::string * original_file) +unsigned int xml_parser_t::parse(std::istream& in, + config_t& config, + journal_t * journal, + account_t * master, + const std::string * original_file) { char buf[BUFSIZ]; |