changeset 90758:2112cef037a5

(struct re_pattern_buffer): New meumber charset_unibyte.
author Kenichi Handa <handa@m17n.org>
date Thu, 15 Feb 2007 11:24:16 +0000
parents 8780137cabbc
children a5e47ab2fa2a
files src/regex.h
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/regex.h	Thu Feb 15 11:23:52 2007 +0000
+++ b/src/regex.h	Thu Feb 15 11:24:16 2007 +0000
@@ -399,14 +399,15 @@
 
 #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]]] */