Commit 4da60324 authored by Paul Eggert's avatar Paul Eggert
Browse files

* regex.c (IF_LINT): Add defn, for benefit of ../lib-src.

parent db69b0cd
2011-03-15 Paul Eggert <eggert@cs.ucla.edu>
 
* regex.c (IF_LINT): Add defn, for benefit of ../lib-src.
Use functions, not macros, for up- and down-casing (Bug#8254).
* buffer.h (DOWNCASE_TABLE, UPCASE_TABLE, DOWNCASE, UPPERCASEP):
(NOCASEP, LOWERCASEP, UPCASE, UPCASE1): Remove. All callers changed
......@@ -1267,6 +1267,13 @@ print_double_string (where, string1, size1, string2, size2)
#endif /* not DEBUG */
/* Use this to suppress gcc's `...may be used before initialized' warnings. */
#ifdef lint
# define IF_LINT(Code) Code
#else
# define IF_LINT(Code) /* empty */
#endif
/* Set by `re_set_syntax' to the current regexp syntax to recognize. Can
also be assigned to arbitrarily: each pattern buffer stores its own
syntax, so it can be changed between regex compilations. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment