From 88634973a29693402edd4eb8e943531354c51893 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 19 Jul 2008 23:10:37 -0400 Subject: Some basic fixes to get things almost running, although we still can't parse my personal ledger file yet. --- main.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main.cc') diff --git a/main.cc b/main.cc index 3c378861..bae22bcd 100644 --- a/main.cc +++ b/main.cc @@ -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 -- cgit v1.2.3