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
commit1204a8cfa212a685f6236641d02256b862535107 (patch)
treece09c83805a14db15a4c46a8dfa9c504c6b6b850 /src/regex.h
parentcd1b7ae0d414f30b1e69920bfde1386204165f5d (diff)
downloademacs-1204a8cfa212a685f6236641d02256b862535107.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]]] */
};