# HG changeset patch # User Richard M. Stallman # Date 866401347 0 # Node ID 2f0b00246056d190e67be4d8fd9d0bd5415c06de # Parent a642c99198ec31813aa4632d876c06815b8210c2 (struct re_pattern_buffer): New member multibyte. (re_match_object): New variable. diff -r a642c99198ec -r 2f0b00246056 src/regex.h --- a/src/regex.h Sun Jun 15 19:00:12 1997 +0000 +++ b/src/regex.h Sun Jun 15 19:02:27 1997 +0000 @@ -140,6 +140,13 @@ 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 @@ /* 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]]] */ };