diff options
author | John Wiegley <johnw@newartisans.com> | 2012-04-04 02:27:26 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-04-04 02:27:26 -0500 |
commit | 807cce12ff7d1f3f950853694c0603f20021bff0 (patch) | |
tree | c9a371e54245f4db1b5c22b5f6aa880912e51732 /src/item.cc | |
parent | 878afc6d47ee4efa34a7ae1ab58025f6d65d9964 (diff) | |
download | fork-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.cc | 2 |
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>); |