diff options
| author | Richard M. Stallman | 1997-06-15 19:02:27 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-06-15 19:02:27 +0000 |
| commit | 766ff6275ba417b61d465c1f7eea347b212e641e (patch) | |
| tree | 14a639edf893826753c48144698abf625a814d61 /src | |
| parent | b18215fce4d602eed6259e0ef05d4424790abf5e (diff) | |
| download | emacs-766ff6275ba417b61d465c1f7eea347b212e641e.tar.gz emacs-766ff6275ba417b61d465c1f7eea347b212e641e.zip | |
(struct re_pattern_buffer): New member multibyte.
(re_match_object): New variable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.h | 11 |
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; | |||
| 140 | stored in the pattern buffer, so changing this does not affect | 140 | stored in the pattern buffer, so changing this does not affect |
| 141 | already-compiled regexps. */ | 141 | already-compiled regexps. */ |
| 142 | extern reg_syntax_t re_syntax_options; | 142 | extern reg_syntax_t re_syntax_options; |
| 143 | |||
| 144 | #ifdef emacs | ||
| 145 | /* In Emacs, this is the string or buffer in which we | ||
| 146 | are matching. It is used for looking up syntax properties. */ | ||
| 147 | extern Lisp_Object re_match_object; | ||
| 148 | #endif | ||
| 149 | |||
| 143 | 150 | ||
| 144 | /* Define combinations of the above bits for the standard possibilities. | 151 | /* Define combinations of the above bits for the standard possibilities. |
| 145 | (The [[[ comments delimit what gets put into the Texinfo file, so | 152 | (The [[[ comments delimit what gets put into the Texinfo file, so |
| @@ -349,6 +356,10 @@ struct re_pattern_buffer | |||
| 349 | /* If true, an anchor at a newline matches. */ | 356 | /* If true, an anchor at a newline matches. */ |
| 350 | unsigned newline_anchor : 1; | 357 | unsigned newline_anchor : 1; |
| 351 | 358 | ||
| 359 | /* If true, multi-byte form in the `buffer' should be recognized as a | ||
| 360 | multibyte character. */ | ||
| 361 | unsigned multibyte : 1; | ||
| 362 | |||
| 352 | /* [[[end pattern_buffer]]] */ | 363 | /* [[[end pattern_buffer]]] */ |
| 353 | }; | 364 | }; |
| 354 | 365 | ||