diff options
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); |