aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-15 14:33:24 -0700
committerPaul Eggert2011-03-15 14:33:24 -0700
commit4da60324405c45ce25b1de07c959b411463336db (patch)
tree08c4883b7407b44f32fb1ff8bfa6b1b230f163a5 /src
parentdb69b0cde386ed1e4cc928f5beb916107ee9fc88 (diff)
downloademacs-4da60324405c45ce25b1de07c959b411463336db.tar.gz
emacs-4da60324405c45ce25b1de07c959b411463336db.zip
* regex.c (IF_LINT): Add defn, for benefit of ../lib-src.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/regex.c7
2 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 91d5069d559..2ebee67dba2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-03-15 Paul Eggert <eggert@cs.ucla.edu> 12011-03-15 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * regex.c (IF_LINT): Add defn, for benefit of ../lib-src.
4
3 Use functions, not macros, for up- and down-casing (Bug#8254). 5 Use functions, not macros, for up- and down-casing (Bug#8254).
4 * buffer.h (DOWNCASE_TABLE, UPCASE_TABLE, DOWNCASE, UPPERCASEP): 6 * buffer.h (DOWNCASE_TABLE, UPCASE_TABLE, DOWNCASE, UPPERCASEP):
5 (NOCASEP, LOWERCASEP, UPCASE, UPCASE1): Remove. All callers changed 7 (NOCASEP, LOWERCASEP, UPCASE, UPCASE1): Remove. All callers changed
diff --git a/src/regex.c b/src/regex.c
index e6d0da96312..a60ff0ce35c 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -1267,6 +1267,13 @@ print_double_string (where, string1, size1, string2, size2)
1267 1267
1268#endif /* not DEBUG */ 1268#endif /* not DEBUG */
1269 1269
1270/* Use this to suppress gcc's `...may be used before initialized' warnings. */
1271#ifdef lint
1272# define IF_LINT(Code) Code
1273#else
1274# define IF_LINT(Code) /* empty */
1275#endif
1276
1270/* Set by `re_set_syntax' to the current regexp syntax to recognize. Can 1277/* Set by `re_set_syntax' to the current regexp syntax to recognize. Can
1271 also be assigned to arbitrarily: each pattern buffer stores its own 1278 also be assigned to arbitrarily: each pattern buffer stores its own
1272 syntax, so it can be changed between regex compilations. */ 1279 syntax, so it can be changed between regex compilations. */