diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-10 04:15:47 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:58 -0400 |
commit | 4ed59bcf8cf9bd6525535f16efde058267649058 (patch) | |
tree | 00a6a76a571aa06f691f3671c7d98fc1b25928c9 | |
parent | d11cfb0738e092e75eba7d96f7c1ede8010ea1a9 (diff) | |
download | fork-ledger-4ed59bcf8cf9bd6525535f16efde058267649058.tar.gz fork-ledger-4ed59bcf8cf9bd6525535f16efde058267649058.tar.bz2 fork-ledger-4ed59bcf8cf9bd6525535f16efde058267649058.zip |
Fixed a Gnucash problem.
-rw-r--r-- | main.cc | 8 | ||||
-rw-r--r-- | py_eval.cc | 8 |
2 files changed, 4 insertions, 12 deletions
@@ -258,11 +258,9 @@ int parse_and_report(int argc, char * argv[], char * envp[]) // Parse initialization files, ledger data, price database, etc. std::auto_ptr<binary_parser_t> bin_parser(new binary_parser_t); -#ifdef READ_GNUCASH - std::auto_ptr<gnucash_parser_t> gnucash_parser(new gnucash_parser_t); -#endif #ifdef HAVE_XMLPARSE std::auto_ptr<xml_parser_t> xml_parser(new xml_parser_t); + std::auto_ptr<gnucash_parser_t> gnucash_parser(new gnucash_parser_t); #endif #ifdef HAVE_LIBOFX std::auto_ptr<ofx_parser_t> ofx_parser(new ofx_parser_t); @@ -271,11 +269,9 @@ int parse_and_report(int argc, char * argv[], char * envp[]) std::auto_ptr<textual_parser_t> text_parser(new textual_parser_t); register_parser(bin_parser.get()); -#ifdef READ_GNUCASH - register_parser(gnucash_parser.get()); -#endif #ifdef HAVE_XMLPARSE register_parser(xml_parser.get()); + register_parser(gnucash_parser.get()); #endif #ifdef HAVE_LIBOFX register_parser(ofx_parser.get()); @@ -19,11 +19,9 @@ void export_parser(); void export_textual(); void export_binary(); void export_qif(); -#ifdef READ_GNUCASH -void export_gnucash(); -#endif #ifdef HAVE_XMLPARSE void export_xml(); +void export_gnucash(); #endif #ifdef HAVE_LIBOFX void export_ofx(); @@ -46,11 +44,9 @@ void initialize_ledger_for_python() export_textual(); export_binary(); export_qif(); -#ifdef READ_GNUCASH - export_gnucash(); -#endif #ifdef HAVE_XMLPARSE export_xml(); + export_gnucash(); #endif #ifdef HAVE_LIBOFX export_ofx(); |