diff options
Diffstat (limited to 'generic/regc_cvec.c')
-rw-r--r-- | generic/regc_cvec.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/generic/regc_cvec.c b/generic/regc_cvec.c index f4c6dd0..1e38476 100644 --- a/generic/regc_cvec.c +++ b/generic/regc_cvec.c @@ -111,10 +111,18 @@ addrange( cv->nranges++; } +#ifdef REGEXP_ADDMCCE_UNUSED +/* + * This static function is currently called from a single spot in regcomp.c, + * with two NULL pointers; in that case it does nothing, so that we define out + * both the call and the code. + */ + /* - addmcce - add an MCCE to a cvec ^ static VOID addmcce(struct cvec *, chr *, chr *); */ + static void addmcce( struct cvec *cv, /* character vector */ @@ -142,6 +150,7 @@ addmcce( assert(d == &cv->chrs[cv->chrspace - cv->nmccechrs]); cv->nmccechrs += len + 1; } +#endif /* - haschr - does a cvec contain this chr? |