summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-14 03:11:48 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-14 03:11:48 -0500
commita461e17eee16ec51d2f074a0f46cb552edaa3ffd (patch)
tree6d9bbf95b19108ee0672812ec1373889c5646262 /src/item.cc
parent7a447912216e467a402e48be49f143f1b4be8261 (diff)
downloadfork-ledger-a461e17eee16ec51d2f074a0f46cb552edaa3ffd.tar.gz
fork-ledger-a461e17eee16ec51d2f074a0f46cb552edaa3ffd.tar.bz2
fork-ledger-a461e17eee16ec51d2f074a0f46cb552edaa3ffd.zip
Added historical support for single-letter valexprs
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/item.cc b/src/item.cc
index f60db226..43274cfd 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -395,6 +395,11 @@ expr_t::ptr_op_t item_t::lookup(const symbol_t::kind_t kind,
return WRAP_FUNCTOR(get_wrapper<&get_uncleared>);
break;
+ case 'L':
+ if (name[1] == '\0')
+ return WRAP_FUNCTOR(get_wrapper<&get_actual>);
+ break;
+
case 'X':
if (name[1] == '\0')
return WRAP_FUNCTOR(get_wrapper<&get_cleared>);