summaryrefslogtreecommitdiffstats
path: root/generic/regexec.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-28 11:45:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-28 11:45:42 (GMT)
commitb7f809ade5521067cf0d90daa4b24ae48fd7e525 (patch)
tree0454687fff6f9605ebe2b160834f66b1acf33fd3 /generic/regexec.c
parentfa1cc2cd3f640af44f4f766c1fdcbf4822b8053e (diff)
parentda423a1424e34834a64c209244ef64ca7c275f7d (diff)
downloadtcl-b7f809ade5521067cf0d90daa4b24ae48fd7e525.zip
tcl-b7f809ade5521067cf0d90daa4b24ae48fd7e525.tar.gz
tcl-b7f809ade5521067cf0d90daa4b24ae48fd7e525.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/regexec.c')
-rw-r--r--generic/regexec.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/generic/regexec.c b/generic/regexec.c
index 2c056e1..fa5ca2a 100644
--- a/generic/regexec.c
+++ b/generic/regexec.c
@@ -128,7 +128,7 @@ int exec(regex_t *, const chr *, size_t, rm_detail_t *, size_t, regmatch_t [], i
static struct dfa *getsubdfa(struct vars *, struct subre *);
static int simpleFind(struct vars *const, struct cnfa *const, struct colormap *const);
static int complicatedFind(struct vars *const, struct cnfa *const, struct colormap *const);
-static int complicatedFindLoop(struct vars *const, struct cnfa *const, struct colormap *const, struct dfa *const, struct dfa *const, chr **const);
+static int complicatedFindLoop(struct vars *const, struct dfa *const, struct dfa *const, chr **const);
static void zapallsubs(regmatch_t *const, const size_t);
static void zaptreesubs(struct vars *const, struct subre *const);
static void subset(struct vars *const, struct subre *const, chr *const, chr *const);
@@ -429,7 +429,7 @@ complicatedFind(
return v->err;
}
- ret = complicatedFindLoop(v, cnfa, cm, d, s, &cold);
+ ret = complicatedFindLoop(v, d, s, &cold);
freeDFA(d);
freeDFA(s);
@@ -448,14 +448,12 @@ complicatedFind(
/*
- complicatedFindLoop - the heart of complicatedFind
- ^ static int complicatedFindLoop(struct vars *, struct cnfa *, struct colormap *,
+ ^ static int complicatedFindLoop(struct vars *,
^ struct dfa *, struct dfa *, chr **);
*/
static int
complicatedFindLoop(
struct vars *const v,
- struct cnfa *const cnfa,
- struct colormap *const cm,
struct dfa *const d,
struct dfa *const s,
chr **const coldp) /* where to put coldstart pointer */