summaryrefslogtreecommitdiffstats
path: root/generic/regguts.h
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-10-13 02:22:16 (GMT)
committerhobbs <hobbs>1999-10-13 02:22:16 (GMT)
commit71fd2723b9468b0424d08077814238e4201c53d4 (patch)
treefd90266acf9550bec088e4be1aade4a25b3acfea /generic/regguts.h
parent70325c9bcdba6fa60b67d70caadab8e46f08b677 (diff)
downloadtcl-71fd2723b9468b0424d08077814238e4201c53d4.zip
tcl-71fd2723b9468b0424d08077814238e4201c53d4.tar.gz
tcl-71fd2723b9468b0424d08077814238e4201c53d4.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.
Diffstat (limited to 'generic/regguts.h')
-rw-r--r--generic/regguts.h8
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? */
};