Make status and state valexpr synonyms

This commit is contained in:
John Wiegley 2012-04-04 02:27:26 -05:00
parent 878afc6d47
commit 807cce12ff

View file

@ -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>);