(struct re_pattern_buffer): New member multibyte.
authorRichard Stallman <rms@gnu.org>
Sun, 15 Jun 1997 19:02:27 +0000 (19:02 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 15 Jun 1997 19:02:27 +0000 (19:02 +0000)
(re_match_object): New variable.

regex.h

diff --git a/regex.h b/regex.h
index 61bdd6e11a42863cc27827d6a4716c1d916aedef..351ec7f4d97648d30017e3489cadb65ddc150a96 100644 (file)
--- a/regex.h
+++ b/regex.h
@@ -140,6 +140,13 @@ typedef unsigned reg_syntax_t;
    stored in the pattern buffer, so changing this does not affect
    already-compiled regexps.  */
 extern reg_syntax_t re_syntax_options;
+
+#ifdef emacs
+/* In Emacs, this is the string or buffer in which we
+   are matching.  It is used for looking up syntax properties.  */
+extern Lisp_Object re_match_object;
+#endif
+
 \f
 /* Define combinations of the above bits for the standard possibilities.
    (The [[[ comments delimit what gets put into the Texinfo file, so
@@ -349,6 +356,10 @@ struct re_pattern_buffer
         /* If true, an anchor at a newline matches.  */
   unsigned newline_anchor : 1;
 
+  /* If true, multi-byte form in the `buffer' should be recognized as a
+     multibyte character. */
+  unsigned multibyte : 1;
+
 /* [[[end pattern_buffer]]] */
 };