diff options
Diffstat (limited to 'generic/tclRegexp.h')
| -rw-r--r-- | generic/tclRegexp.h | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/generic/tclRegexp.h b/generic/tclRegexp.h index 1515225..eac0aaa 100644 --- a/generic/tclRegexp.h +++ b/generic/tclRegexp.h @@ -9,8 +9,6 @@   *   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES. - * - * RCS: @(#) $Id: tclRegexp.h,v 1.13 2005/10/12 23:55:25 dkf Exp $   */  #ifndef _TCLREGEXP @@ -30,15 +28,16 @@ typedef struct TclRegexp {      int flags;			/* Regexp compile flags. */      regex_t re;			/* Compiled re, includes number of  				 * subexpressions. */ -    CONST char *string;		/* Last string passed to Tcl_RegExpExec. */ +    const char *string;		/* Last string passed to Tcl_RegExpExec. */      Tcl_Obj *objPtr;		/* Last object passed to Tcl_RegExpExecObj. */ +    Tcl_Obj *globObjPtr;	/* Glob pattern rep of RE or NULL if none. */      regmatch_t *matches;	/* Array of indices into the Tcl_UniChar  				 * representation of the last string matched  				 * with this regexp to indicate the location  				 * of subexpressions. */      rm_detail_t details;	/* Detailed information on match (currently  				 * used only for REG_EXPECT). */ -    int refCount;		/* Count of number of references to this +    unsigned int refCount;	/* Count of number of references to this  				 * compiled regexp. */  } TclRegexp; | 
