summaryrefslogtreecommitdiff
path: root/src/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.h')
-rw-r--r--src/regex.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/regex.h b/src/regex.h
index 1cfd4363ea7..b23c8855eff 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -391,9 +391,15 @@ struct re_pattern_buffer
unsigned not_eol : 1;
#ifdef emacs
- /* If true, multi-byte form in the `buffer' should be recognized as a
- multibyte character. */
+ /* 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. */
unsigned multibyte : 1;
+
+ /* If true, multi-byte form in the target of match should be
+ recognized as a multibyte character. */
+ unsigned target_multibyte : 1;
#endif
/* [[[end pattern_buffer]]] */