diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-03-14 00:27:57 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-03-14 00:27:57 +0000 |
commit | 66f0296e4897de71e31a1663d4b92d580476e2b2 (patch) | |
tree | b9622b13082f428cb56d652782663157a69c3387 /lisp/emacs-lisp | |
parent | a735b7e1cff3f1a5bfa20b4388f5d3da41491a53 (diff) | |
download | emacs-66f0296e4897de71e31a1663d4b92d580476e2b2.tar.gz emacs-66f0296e4897de71e31a1663d4b92d580476e2b2.tar.bz2 emacs-66f0296e4897de71e31a1663d4b92d580476e2b2.zip |
* 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.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions