(struct re_pattern_buffer): New meumber charset_unibyte.
authorKenichi Handa <handa@m17n.org>
Thu, 15 Feb 2007 11:24:16 +0000 (11:24 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 15 Feb 2007 11:24:16 +0000 (11:24 +0000)
src/regex.h

index 3f3d313..baf4124 100644 (file)
@@ -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]]] */