]> code.delx.au - gnu-emacs/blobdiff - src/regex.h
*** empty log message ***
[gnu-emacs] / src / regex.h
index eb1051d19494f8c3b4bb62598ce85a99987e54b7..b23c8855eff9246c4cab68c3a1a9406d7a95b2a8 100644 (file)
@@ -392,7 +392,9 @@ struct re_pattern_buffer
 
 #ifdef emacs
   /* If true, multi-byte form in the regexp pattern should be
-     recognized as a multibyte character. */
+     recognized as a multibyte character.  When the pattern is
+     compiled, this is set to the same value as target_multibyte
+     below.  */
   unsigned multibyte : 1;
 
   /* If true, multi-byte form in the target of match should be
@@ -539,10 +541,12 @@ extern int re_exec _RE_ARGS ((const char *));
 #  endif
 # endif
 #endif
-/* For now unconditionally define __restrict_arr to expand to nothing.
+/* For now conditionally define __restrict_arr to expand to nothing.
    Ideally we would have a test for the compiler which allows defining
    it to restrict.  */
-#define __restrict_arr
+#ifndef __restrict_arr
+# define __restrict_arr
+#endif
 
 /* POSIX compatibility.  */
 extern int regcomp _RE_ARGS ((regex_t *__restrict __preg,