diff options
author | John Wiegley <johnw@newartisans.com> | 2004-09-20 03:25:28 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-09-20 03:25:28 -0400 |
commit | 5429792edc077d8c65d7bbf0f98c3d0e59837775 (patch) | |
tree | 3d068afe20d09862f064367cfdef58bc107a8558 /main.cc | |
parent | 18879bbe85cdef7a60d0692e17b9c835c81e77fc (diff) | |
download | fork-ledger-5429792edc077d8c65d7bbf0f98c3d0e59837775.tar.gz fork-ledger-5429792edc077d8c65d7bbf0f98c3d0e59837775.tar.bz2 fork-ledger-5429792edc077d8c65d7bbf0f98c3d0e59837775.zip |
the "bal" command mostly works now in main.py; added a finalize_entry hook
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,7 @@ #include "ledger.h" #include "parser.h" #include "textual.h" +#include "autoxact.h" #include "binary.h" #include "qif.h" #include "acconf.h" @@ -216,6 +217,7 @@ int parse_and_report(int argc, char * argv[], char * envp[]) #endif std::auto_ptr<qif_parser_t> qif_parser(new qif_parser_t); std::auto_ptr<textual_parser_t> text_parser(new textual_parser_t); + text_parser->add_finalize_hook(handle_auto_xacts); register_parser(bin_parser.get()); #ifdef READ_GNUCASH |