]> code.delx.au - gnu-emacs/blobdiff - src/regex.h
(enlarge_buffer_text): Fix int -> EMACS_INT.
[gnu-emacs] / src / regex.h
index e065c597d4981bbd675fad582e9064c131631045..6de82239b8daec4c514cf5f26771e887bef9fb45 100644 (file)
@@ -1,12 +1,13 @@
 /* Definitions for data structures and routines for the regular
    expression library, version 0.12.
 
 /* Definitions for data structures and routines for the regular
    expression library, version 0.12.
 
-   Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993, 1995, 2000, 2002,
-                 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1985, 1989, 1990, 1991, 1992, 1993, 1995, 2000, 2001,
+                 2002, 2003, 2004, 2005, 2006, 2007, 2008
+                 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2, or (at your option)
+   the Free Software Foundation; either version 3, or (at your option)
    any later version.
 
    This program is distributed in the hope that it will be useful,
    any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -398,14 +399,15 @@ struct re_pattern_buffer
 
 #ifdef emacs
   /* If true, multi-byte form in the regexp pattern should be
 
 #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;
   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]]] */
 #endif
 
 /* [[[end pattern_buffer]]] */