diff options
author | dkf <dkf@noemail.net> | 2007-11-14 11:04:58 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2007-11-14 11:04:58 (GMT) |
commit | f516530ebc9474da80c33d80c7a171c13f65e487 (patch) | |
tree | 145f0b7237a0fa87bff299c233682cca06b5cdd5 /generic/regc_color.c | |
parent | e3320ecec1515b771ca689c3cf57f263871fba92 (diff) | |
download | tcl-f516530ebc9474da80c33d80c7a171c13f65e487.zip tcl-f516530ebc9474da80c33d80c7a171c13f65e487.tar.gz tcl-f516530ebc9474da80c33d80c7a171c13f65e487.tar.bz2 |
Eliminate multi-char collating element code completely. Simplifies the code
quite a bit. If people still want the full code, it will remain on the 8.4
branch. [Bug 1831425]
FossilOrigin-Name: c3a6a6c85d822a4dbbad8d4cc48b0b7c6bf86148
Diffstat (limited to 'generic/regc_color.c')
-rw-r--r-- | generic/regc_color.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/generic/regc_color.c b/generic/regc_color.c index 02634d9..003f5fc 100644 --- a/generic/regc_color.c +++ b/generic/regc_color.c @@ -678,22 +678,6 @@ uncolorchain( a->colorchain = NULL; /* paranoia */ } -#ifdef REGEXP_MCCE_ENABLED -/* - - singleton - is this character in its own color? - ^ static int singleton(struct colormap *, pchr c); - */ -static int /* predicate */ -singleton( - struct colormap *cm, - pchr c) -{ - color co = GETCOLOR(cm, c); /* color of c */ - - return (cm->cd[co].nchrs == 1) && (cm->cd[co].sub == NOSUB); -} -#endif - /* - rainbow - add arcs of all full colors (but one) between specified states ^ static VOID rainbow(struct nfa *, struct colormap *, int, pcolor, |