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 | 4aea9709bb25a3be567ad8c25cdd4458e813a10f (patch) | |
tree | ab9f540eb655848acc8f324afe171775affe2f39 /xml.cc | |
parent | 17e872689ead6d2250af3997c3944b081b4ad9ef (diff) | |
download | ledger-4aea9709bb25a3be567ad8c25cdd4458e813a10f.tar.gz ledger-4aea9709bb25a3be567ad8c25cdd4458e813a10f.tar.bz2 ledger-4aea9709bb25a3be567ad8c25cdd4458e813a10f.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]; |