Commit 76ef09b7 authored by Paul Eggert's avatar Paul Eggert
Browse files

* character.h (PREV_CHAR_BOUNDARY): Rename local to avoid shadowing.

parent 4da60324
......@@ -30,7 +30,8 @@
Remove; unused.
 
* search.c (boyer_moore): Rename locals to avoid shadowing.
* character.h (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): Likewise.
* character.h (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE):
(PREV_CHAR_BOUNDARY): Likewise.
 
* search.c (simple_search): Remove unused var.
 
......@@ -278,11 +278,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
do { \
if ((p) > (limit)) \
{ \
const unsigned char *p0 = (p); \
const unsigned char *pcb = (p); \
do { \
p0--; \
} while (p0 >= limit && ! CHAR_HEAD_P (*p0)); \
(p) = (BYTES_BY_CHAR_HEAD (*p0) == (p) - p0) ? p0 : (p) - 1; \
pcb--; \
} while (pcb >= limit && ! CHAR_HEAD_P (*pcb)); \
(p) = (BYTES_BY_CHAR_HEAD (*pcb) == (p) - pcb) ? pcb : (p) - 1; \
} \
} while (0)
......
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