summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
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]]] */