John Ralls 0161c4b917 Correct binary test logic for primary mask.
state & get_primary_mask(another) tested (state & (primary | other)),
which will be true if state matches *either* primary *or* other, but
what is wanted in a not-negated test is state matching all bits of
(primary | other). match_primary_mask does that.

On the other hand there are also cases of "not state & (primary | other)".
no_match_primary_mask handles that, returning true if state matches none
 of the bits in (primary | other).

Fixes #10646.
2018-08-09 10:30:57 -05:00
..
2018-08-09 10:30:57 -05:00
2016-11-30 15:51:03 +00:00
2015-08-23 18:42:07 +01:00
2015-08-23 18:42:07 +01:00
2016-05-10 16:06:49 +01:00
2016-05-10 16:06:49 +01:00
2016-05-10 16:06:49 +01:00
2016-05-10 16:06:49 +01:00
2015-08-23 18:42:07 +01:00
2016-05-10 16:06:49 +01:00
2016-06-29 09:44:18 -05:00
2015-08-23 18:42:07 +01:00