summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-04 02:27:26 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-04 02:27:26 -0500
commit807cce12ff7d1f3f950853694c0603f20021bff0 (patch)
treec9a371e54245f4db1b5c22b5f6aa880912e51732 /src/item.cc
parent878afc6d47ee4efa34a7ae1ab58025f6d65d9964 (diff)
downloadfork-ledger-807cce12ff7d1f3f950853694c0603f20021bff0.tar.gz
fork-ledger-807cce12ff7d1f3f950853694c0603f20021bff0.tar.bz2
fork-ledger-807cce12ff7d1f3f950853694c0603f20021bff0.zip
Make status and state valexpr synonyms
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc
index 9e8ac472..06b718b0 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -475,7 +475,7 @@ expr_t::ptr_op_t item_t::lookup(const symbol_t::kind_t kind,
break;
case 's':
- if (name == "status")
+ if (name == "status" || name == "state")
return WRAP_FUNCTOR(get_wrapper<&get_status>);
else if (name == "seq")
return WRAP_FUNCTOR(get_wrapper<&get_seq>);