summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
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>);