diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-19 23:10:37 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-19 23:10:37 -0400 |
commit | 88634973a29693402edd4eb8e943531354c51893 (patch) | |
tree | 550f6fca09e80d1a0877e06c3433b37c5bb2e6d5 /main.cc | |
parent | d568319495a0695582797de0be4b85e1e06e73b2 (diff) | |
download | fork-ledger-88634973a29693402edd4eb8e943531354c51893.tar.gz fork-ledger-88634973a29693402edd4eb8e943531354c51893.tar.bz2 fork-ledger-88634973a29693402edd4eb8e943531354c51893.zip |
Some basic fixes to get things almost running, although we still can't parse
my personal ledger file yet.
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -495,10 +495,18 @@ int main(int argc, char * argv[], char * envp[]) report_t report; ledger::config = &config; ledger::report = &report; + + amount_t::initialize(); + value_t::initialize(); + #if 0 TRACE_PUSH(main, "Ledger starting"); #endif int status = parse_and_report(config, journal, report, argc, argv, envp); + + value_t::shutdown(); + amount_t::shutdown(); + #if 0 TRACE_POP(main, "Ledger done"); #endif |