* regex.c: Declare a new type `re_char' used throughout the code for the
commit66f0296e4897de71e31a1663d4b92d580476e2b2
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Mar 2000 00:27:57 +0000 (14 00:27 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Mar 2000 00:27:57 +0000 (14 00:27 +0000)
treeb9622b13082f428cb56d652782663157a69c3387
parenta735b7e1cff3f1a5bfa20b4388f5d3da41491a53
* regex.c: Declare a new type `re_char' used throughout the code for the
string char type.  It's `const unsigned char' to match the rest of Emacs.
Consistently make sure all pointers to strings use it and make sure all
pointers into the pattern use `unsigned char'.
(re_match_2_internal): Use `PREFETCH+STRING_CHAR' instead of
GET_CHAR_AFTER_2.
Also merge wordbound and notwordbound to reduce code duplication.
* charset.h (GET_CHAR_AFTER_2): Remove.
(GET_CHAR_BEFORE_2): Use unsigned chars, like everywhere else.
src/ChangeLog
src/charset.h
src/regex.c