summaryrefslogtreecommitdiffstats
path: root/generic/regexec.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-28 11:15:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-28 11:15:19 (GMT)
commitda423a1424e34834a64c209244ef64ca7c275f7d (patch)
tree3820ac7dda66c4d317cedc091c671a5c231046db /generic/regexec.c
parent478e248339265d65360a9ad85ae239fec700f6a3 (diff)
parente9a4ca4f22d40f304a6f50f9b410651ce75098cd (diff)
downloadtcl-da423a1424e34834a64c209244ef64ca7c275f7d.zip
tcl-da423a1424e34834a64c209244ef64ca7c275f7d.tar.gz
tcl-da423a1424e34834a64c209244ef64ca7c275f7d.tar.bz2
Merge 8.6
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 24c4eac..b5f161b 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);
@@ -433,7 +433,7 @@ complicatedFind(
return v->err;
}
- ret = complicatedFindLoop(v, cnfa, cm, d, s, &cold);
+ ret = complicatedFindLoop(v, d, s, &cold);
freeDFA(d);
freeDFA(s);
@@ -452,14 +452,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 */