Fixed a Gnucash problem.
This commit is contained in:
parent
d11cfb0738
commit
4ed59bcf8c
2 changed files with 4 additions and 12 deletions
8
main.cc
8
main.cc
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue