diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2010-06-05 02:41:32 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 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.tar.bz2 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 }; # define SWITCH_ENUM_CAST(x) (x) /* Dummy macros for non-Emacs environments. */ -# define BASE_LEADING_CODE_P(c) (0) # define CHAR_CHARSET(c) 0 # define CHARSET_LEADING_CODE_BASE(c) 0 # define MAX_MULTIBYTE_LENGTH 1 @@ -3805,7 +3804,7 @@ regex_compile (pattern, size, syntax, bufp) if (c1 != c2 && (c1 = RE_CHAR_TO_UNIBYTE (c2)) >= 0) c = c1; - } + } *b++ = c; len = 1; } @@ -4125,7 +4124,7 @@ analyse_first (p, pend, fastmap, multibyte) if (/* Any leading code can possibly start a character which doesn't match the specified set of characters. */ not - || + || /* If we can match a character class, we can match any multibyte characters. */ (CHARSET_RANGE_TABLE_EXISTS_P (&p[-2]) |