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.cc | |
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.cc')
-rw-r--r-- | src/session.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/session.cc b/src/session.cc index 7a3ecf19..8e505c22 100644 --- a/src/session.cc +++ b/src/session.cc @@ -241,6 +241,11 @@ expr_t::ptr_op_t session_t::lookup(const string& name) return MAKE_OPT_HANDLER(session_t, handler); } break; + + case 't': + if (is_eq(p, "today")) + return MAKE_FUNCTOR(session_t::fn_today); + break; } return symbol_scope_t::lookup(name); |