summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-06-15 19:02:27 +0000
committerRichard M. Stallman <rms@gnu.org>1997-06-15 19:02:27 +0000
commit766ff6275ba417b61d465c1f7eea347b212e641e (patch)
tree14a639edf893826753c48144698abf625a814d61 /src/regex.h
parentb18215fce4d602eed6259e0ef05d4424790abf5e (diff)
downloademacs-766ff6275ba417b61d465c1f7eea347b212e641e.tar.gz
(struct re_pattern_buffer): New member multibyte.
(re_match_object): New variable.
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/regex.h b/src/regex.h
index 61bdd6e11a4..351ec7f4d97 100644
--- a/src/regex.h
+++ b/src/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
+
/* 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]]] */
};