Resolve account.date to latest post in the account
This commit is contained in:
parent
e716995311
commit
97693b43b5
1 changed files with 3 additions and 1 deletions
|
|
@ -380,7 +380,9 @@ expr_t::ptr_op_t account_t::lookup(const symbol_t::kind_t kind,
|
|||
break;
|
||||
|
||||
case 'd':
|
||||
if (fn_name == "depth")
|
||||
if (fn_name == "date")
|
||||
return WRAP_FUNCTOR(get_wrapper<&get_latest>);
|
||||
else if (fn_name == "depth")
|
||||
return WRAP_FUNCTOR(get_wrapper<&get_depth>);
|
||||
else if (fn_name == "depth_spacer")
|
||||
return WRAP_FUNCTOR(get_wrapper<&get_depth_spacer>);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue