diff options
author | John Wiegley <johnw@newartisans.com> | 2005-11-10 12:06:41 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:21 -0400 |
commit | d021582d2869961d21a11e722421fb1bae33e5c4 (patch) | |
tree | e781b172180d5ee96f9534db69ca3911dc4b9e95 /main.cc | |
parent | 7f34e080fdd3163a4b7143f3da7ae8aa20499ddc (diff) | |
download | ledger-d021582d2869961d21a11e722421fb1bae33e5c4.tar.gz ledger-d021582d2869961d21a11e722421fb1bae33e5c4.tar.bz2 ledger-d021582d2869961d21a11e722421fb1bae33e5c4.zip |
(parse_and_report): Set ledger::terminus in main.cc, instead of
relying on static initialization of valexpr.cc.
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,6 +41,10 @@ int parse_and_report(int argc, char * argv[], char * envp[]) std::auto_ptr<journal_t> journal(new journal_t); + // Configure the terminus for value expressions + + ledger::terminus = now; + // Parse command-line arguments, and those set in the environment std::list<std::string> args; |