summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2007-02-15 11:24:16 +0000
committerKenichi Handa <handa@m17n.org>2007-02-15 11:24:16 +0000
commit0f4b87bf93151f12ee932482a23d15ec05fdcc01 (patch)
treec1f39b084ffb6082941c6001a2ee1674e87397cf /src/regex.h
parentcf9c99bcf551d4a50b029f6fc766b7403c846dd5 (diff)
downloademacs-0f4b87bf93151f12ee932482a23d15ec05fdcc01.tar.gz
(struct re_pattern_buffer): New meumber charset_unibyte.
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/regex.h b/src/regex.h
index 3f3d313397b..baf4124401b 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -399,14 +399,15 @@ struct re_pattern_buffer
#ifdef emacs
/* If true, multi-byte form in the regexp pattern should be
- recognized as a multibyte character. When the pattern is
- compiled, this is set to the same value as target_multibyte
- below. */
+ recognized as a multibyte character. */
unsigned multibyte : 1;
/* If true, multi-byte form in the target of match should be
recognized as a multibyte character. */
unsigned target_multibyte : 1;
+
+ /* Charset of unibyte characters at compiling time. */
+ int charset_unibyte;
#endif
/* [[[end pattern_buffer]]] */