diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | dfa.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2014-02-04 Arnold D. Robbins <arnold@skeeve.com> + + * dfa.c (to_uchar): Make use of this. Syncs with GNU grep. + 2014-02-03 Arnold D. Robbins <arnold@skeeve.com> * awkgram.y (negate_num): Bracket `tval' in #ifdef MPFR since it's @@ -3045,7 +3045,7 @@ match_mb_charset (struct dfa *d, state_num s, position pos, size_t idx) /* Match in range 0-255? */ if (wc < NOTCHAR && work_mbc->cset != -1 - && tstbit ((unsigned char) wc, d->charclasses[work_mbc->cset])) + && tstbit (to_uchar (wc), d->charclasses[work_mbc->cset])) goto charset_matched; /* match with a character class? */ |