summaryrefslogtreecommitdiffstats
path: root/generic/regc_nfa.c
diff options
context:
space:
mode:
authorstanton <stanton>1999-08-05 01:16:57 (GMT)
committerstanton <stanton>1999-08-05 01:16:57 (GMT)
commit144c26987f8a6f6285efd2f4e878e844b9c13d33 (patch)
tree6ba27c1270de462a013ecbff3d320551d574c2c5 /generic/regc_nfa.c
parent97320151634cf8e22126e5ab7c59b1aa9931c002 (diff)
downloadtcl-144c26987f8a6f6285efd2f4e878e844b9c13d33.zip
tcl-144c26987f8a6f6285efd2f4e878e844b9c13d33.tar.gz
tcl-144c26987f8a6f6285efd2f4e878e844b9c13d33.tar.bz2
* generic/regc_nfa.c:
* generic/regcomp.c: * generic/rege_dfa.c: * generic/regexec.c: * generic/regguts.h: Applied patches supplied by Henry Spencer to greatly enhance the performance of certain classes of regular expressions. [Bug: 2440, 2447]
Diffstat (limited to 'generic/regc_nfa.c')
-rw-r--r--generic/regc_nfa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/regc_nfa.c b/generic/regc_nfa.c
index 897b3eb..9881cd4 100644
--- a/generic/regc_nfa.c
+++ b/generic/regc_nfa.c
@@ -703,9 +703,9 @@ struct nfa *nfa;
/*
- optimize - optimize an NFA
- ^ static int optimize(struct nfa *, FILE *);
+ ^ static long optimize(struct nfa *, FILE *);
*/
-static int /* re_info bits */
+static long /* re_info bits */
optimize(nfa, f)
struct nfa *nfa;
FILE *f; /* for debug output; NULL none */
@@ -1187,9 +1187,9 @@ struct state *mark; /* the value to mark with */
/*
- analyze - ascertain potentially-useful facts about an optimized NFA
- ^ static int analyze(struct nfa *);
+ ^ static long analyze(struct nfa *);
*/
-static int /* re_info bits to be ORed in */
+static long /* re_info bits to be ORed in */
analyze(nfa)
struct nfa *nfa;
{