diff options
author | hobbs <hobbs@noemail.net> | 1999-10-13 02:22:16 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 1999-10-13 02:22:16 (GMT) |
commit | 67904b2b0bb1faefe19ad45e686754fa9733ab7a (patch) | |
tree | fd90266acf9550bec088e4be1aade4a25b3acfea /generic/regguts.h | |
parent | 2865e20109cbd33c135a9404919ec902ab2194c1 (diff) | |
download | tcl-67904b2b0bb1faefe19ad45e686754fa9733ab7a.zip tcl-67904b2b0bb1faefe19ad45e686754fa9733ab7a.tar.gz tcl-67904b2b0bb1faefe19ad45e686754fa9733ab7a.tar.bz2 |
* generic/regc_color.c:
* generic/regc_cvec.c:
* generic/regc_lex.c:
* generic/regc_locale.c:
* generic/regcomp.c:
* generic/regcustom.h:
* generic/regerrs.h:
* generic/regex.h:
* generic/regexec.c:
* generic/regguts.h:
* generic/tclRegexp.c:
* generic/tclTest.c:
* tests/reg.test: updated to Henry Spencer's new regexp engine
(mid-Sept 99). Should greatly reduce stack space reqs.
FossilOrigin-Name: 801921c81830b2e88cf056e287360955dcd7d0cb
Diffstat (limited to 'generic/regguts.h')
-rw-r--r-- | generic/regguts.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/regguts.h b/generic/regguts.h index 45c47f6..36e5092 100644 --- a/generic/regguts.h +++ b/generic/regguts.h @@ -1,5 +1,5 @@ /* - * Internal interface definitions, etc., for the regex package + * Internal interface definitions, etc., for the reg package * * Copyright (c) 1998, 1999 Henry Spencer. All rights reserved. * @@ -77,6 +77,11 @@ #define NOPARMS VOID /* for empty parm lists */ #endif +/* const */ +#ifndef CONST +#define CONST const /* for old compilers, might be empty */ +#endif + /* function-pointer declarator */ #ifndef FUNCPTR #if __STDC__ >= 1 @@ -410,5 +415,4 @@ struct guts { int FUNCPTR(compare, (CONST chr *, CONST chr *, size_t)); struct subre *lacons; /* lookahead-constraint vector */ int nlacons; /* size of lacons */ - int usedshorter; /* used non-greedy quantifiers? */ }; |