+2017-05-19 Jim Meyering <meyering@fb.com>
+
+ dfa: two small simplifications
+ * lib/dfa.c (build_state): Avoid repeating longer expressions.
+
2017-05-18 Jim Meyering <meyering@fb.com>
fallthrough: update for GCC 7/8
else if (d->tokens[pos.index] >= CSET)
{
matches = d->charclasses[d->tokens[pos.index] - CSET];
- if (tstbit (uc, &d->charclasses[d->tokens[pos.index] - CSET]))
+ if (tstbit (uc, &matches))
matched = true;
}
else if (d->tokens[pos.index] == ANYCHAR)
{
matches = d->charclasses[d->canychar];
- if (tstbit (uc, &d->charclasses[d->canychar]))
+ if (tstbit (uc, &matches))
matched = true;
/* ANYCHAR must match with a single character, so we must put