diff options
| author | Juanma Barranquero | 2010-06-05 02:41:32 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-06-05 02:41:32 +0200 |
| commit | 409f29191382c875a05516cc69bf3cc4e3cd4592 (patch) | |
| tree | e95e30a281267b22136c827ebcfc59f9d3994517 /src/regex.c | |
| parent | 0665f66133e1991559c58ab57112becf1c9fb70e (diff) | |
| download | emacs-409f29191382c875a05516cc69bf3cc4e3cd4592.tar.gz emacs-409f29191382c875a05516cc69bf3cc4e3cd4592.zip | |
Remove obsolete macro BASE_LEADING_CODE_P.
* character.h (BASE_LEADING_CODE_P): Remove.
* regex.c [!emacs] (BASE_LEADING_CODE_P): Remove.
* buffer.c (Fset_buffer_multibyte):
* indent.c (scan_for_column, compute_motion):
* insdel.c (count_combining_before, count_combining_after):
Use LEADING_CODE_P instead of BASE_LEADING_CODE_P.
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regex.c b/src/regex.c index 5981d5b3de4..c8b6958acdc 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -290,7 +290,6 @@ enum syntaxcode { Swhitespace = 0, Sword = 1, Ssymbol = 2 }; | |||
| 290 | # define SWITCH_ENUM_CAST(x) (x) | 290 | # define SWITCH_ENUM_CAST(x) (x) |
| 291 | 291 | ||
| 292 | /* Dummy macros for non-Emacs environments. */ | 292 | /* Dummy macros for non-Emacs environments. */ |
| 293 | # define BASE_LEADING_CODE_P(c) (0) | ||
| 294 | # define CHAR_CHARSET(c) 0 | 293 | # define CHAR_CHARSET(c) 0 |
| 295 | # define CHARSET_LEADING_CODE_BASE(c) 0 | 294 | # define CHARSET_LEADING_CODE_BASE(c) 0 |
| 296 | # define MAX_MULTIBYTE_LENGTH 1 | 295 | # define MAX_MULTIBYTE_LENGTH 1 |
| @@ -3805,7 +3804,7 @@ regex_compile (pattern, size, syntax, bufp) | |||
| 3805 | 3804 | ||
| 3806 | if (c1 != c2 && (c1 = RE_CHAR_TO_UNIBYTE (c2)) >= 0) | 3805 | if (c1 != c2 && (c1 = RE_CHAR_TO_UNIBYTE (c2)) >= 0) |
| 3807 | c = c1; | 3806 | c = c1; |
| 3808 | } | 3807 | } |
| 3809 | *b++ = c; | 3808 | *b++ = c; |
| 3810 | len = 1; | 3809 | len = 1; |
| 3811 | } | 3810 | } |
| @@ -4125,7 +4124,7 @@ analyse_first (p, pend, fastmap, multibyte) | |||
| 4125 | if (/* Any leading code can possibly start a character | 4124 | if (/* Any leading code can possibly start a character |
| 4126 | which doesn't match the specified set of characters. */ | 4125 | which doesn't match the specified set of characters. */ |
| 4127 | not | 4126 | not |
| 4128 | || | 4127 | || |
| 4129 | /* If we can match a character class, we can match any | 4128 | /* If we can match a character class, we can match any |
| 4130 | multibyte characters. */ | 4129 | multibyte characters. */ |
| 4131 | (CHARSET_RANGE_TABLE_EXISTS_P (&p[-2]) | 4130 | (CHARSET_RANGE_TABLE_EXISTS_P (&p[-2]) |