diff src/search.c @ 203:850242ba4a81 r20-3b28

Import from CVS: tag r20-3b28
author cvs
date Mon, 13 Aug 2007 10:02:21 +0200
parents b405438285a2
children 0e522484dd2a
line wrap: on
line diff
--- a/src/search.c	Mon Aug 13 10:01:24 2007 +0200
+++ b/src/search.c	Mon Aug 13 10:02:21 2007 +0200
@@ -276,7 +276,7 @@
   Lisp_Object val;
   Bytind p1, p2;
   Bytecount s1, s2;
-  register int i;
+  REGISTER int i;
   struct re_pattern_buffer *bufp;
 
   if (running_asynch_code)
@@ -716,13 +716,13 @@
 	    Lisp_Object string, Lisp_Object lim)
 {
   /* This function has been Mule-ized. */
-  register Bufbyte *p, *pend;
-  register Emchar c;
+  REGISTER Bufbyte *p, *pend;
+  REGISTER Emchar c;
   /* We store the first 256 chars in an array here and the rest in
      a range table. */
   unsigned char fastmap[0400];
   int negate = 0;
-  register int i;
+  REGISTER int i;
   struct Lisp_Char_Table *syntax_table =
     XCHAR_TABLE (buf->mirror_syntax_table);
 
@@ -945,7 +945,7 @@
 		int RE, int posix)
 {
   /* This function has been Mule-ized, except for the trt table handling. */
-  register Bufpos np;
+  REGISTER Bufpos np;
   Bufpos lim;
   EMACS_INT n = direction;
   struct buffer *buf;
@@ -1065,17 +1065,17 @@
   /* This function has been Mule-ized, except for the trt table handling. */
   Bytecount len = XSTRING_LENGTH (string);
   Bufbyte *base_pat = XSTRING_DATA (string);
-  register EMACS_INT *BM_tab;
+  REGISTER EMACS_INT *BM_tab;
   EMACS_INT *BM_tab_base;
-  register int direction = ((n > 0) ? 1 : -1);
-  register Bytecount dirlen;
+  REGISTER int direction = ((n > 0) ? 1 : -1);
+  REGISTER Bytecount dirlen;
   EMACS_INT infinity;
   Bytind limit;
   EMACS_INT k;
   Bytecount stride_for_teases = 0;
-  register Bufbyte *pat = 0;
-  register Bufbyte *cursor, *p_limit, *ptr2;
-  register EMACS_INT i, j;
+  REGISTER Bufbyte *pat = 0;
+  REGISTER Bufbyte *cursor, *p_limit, *ptr2;
+  REGISTER EMACS_INT i, j;
   Bytind p1, p2;
   Bytecount s1, s2;
   Bytind pos, lim;
@@ -2304,8 +2304,8 @@
        (list))
 {
   /* This function has been Mule-ized. */
-  register int i;
-  register Lisp_Object marker;
+  REGISTER int i;
+  REGISTER Lisp_Object marker;
 
   if (running_asynch_code)
     save_search_regs ();
@@ -2423,8 +2423,8 @@
        (str))
 {
   /* This function has been Mule-ized. */
-  register Bufbyte *in, *out, *end;
-  register Bufbyte *temp;
+  REGISTER Bufbyte *in, *out, *end;
+  REGISTER Bufbyte *temp;
 
   CHECK_STRING (str);
 
@@ -2499,7 +2499,7 @@
 void
 vars_of_search (void)
 {
-  register int i;
+  REGISTER int i;
 
   for (i = 0; i < REGEXP_CACHE_SIZE; ++i)
     {