diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-20 19:10:16 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-20 19:10:34 -0400 |
commit | 96782df17c5e23dfb86bac745d9f7553a6f74fd4 (patch) | |
tree | 838cdc5db002c31a8d1b8ca2a4fe7006442db032 /src/session.h | |
parent | 8483ea16e23eefd3281774c142c7117a8a87c245 (diff) | |
download | fork-ledger-96782df17c5e23dfb86bac745d9f7553a6f74fd4.tar.gz fork-ledger-96782df17c5e23dfb86bac745d9f7553a6f74fd4.tar.bz2 fork-ledger-96782df17c5e23dfb86bac745d9f7553a6f74fd4.zip |
Enabled --current option
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/session.h b/src/session.h index d2320bb7..cb71c61b 100644 --- a/src/session.h +++ b/src/session.h @@ -98,6 +98,10 @@ public: clean_accounts(); } + value_t fn_today(call_scope_t&) { + return CURRENT_DATE(); + } + option_t<session_t> * lookup_option(const char * p); virtual expr_t::ptr_op_t lookup(const string& name); |