Make status and state valexpr synonyms
This commit is contained in:
parent
878afc6d47
commit
807cce12ff
1 changed files with 1 additions and 1 deletions
|
|
@ -475,7 +475,7 @@ expr_t::ptr_op_t item_t::lookup(const symbol_t::kind_t kind,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 's':
|
case 's':
|
||||||
if (name == "status")
|
if (name == "status" || name == "state")
|
||||||
return WRAP_FUNCTOR(get_wrapper<&get_status>);
|
return WRAP_FUNCTOR(get_wrapper<&get_status>);
|
||||||
else if (name == "seq")
|
else if (name == "seq")
|
||||||
return WRAP_FUNCTOR(get_wrapper<&get_seq>);
|
return WRAP_FUNCTOR(get_wrapper<&get_seq>);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue