summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regex.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex.h b/src/regex.h
index 6974951f575..082f7e010d8 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -367,7 +367,10 @@ struct re_pattern_buffer
/* Number of bytes actually used in `buffer'. */
size_t used;
-#ifndef emacs
+#ifdef emacs
+ /* Charset of unibyte characters at compiling time. */
+ int charset_unibyte;
+#else
/* Syntax setting with which the pattern was compiled. */
reg_syntax_t syntax;
#endif
@@ -427,9 +430,6 @@ struct re_pattern_buffer
/* 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]]] */