diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/regex/regcomp.c | 6 | ||||
-rw-r--r-- | lib/libc/regex/regex2.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c index 0eb4b44309963..076b9c525a656 100644 --- a/lib/libc/regex/regcomp.c +++ b/lib/libc/regex/regcomp.c @@ -691,15 +691,9 @@ static bool p_branch_empty(struct parse *p, struct branchc *bc) { -#if defined(LIBREGEX) && defined(NOTYET) - if (bc->outer) - p->g->iflags |= EMPTBR; - return (true); -#else (void)bc; SETERROR(REG_EMPTY); return (false); -#endif } /* diff --git a/lib/libc/regex/regex2.h b/lib/libc/regex/regex2.h index 012823d3261a2..38bbed90fd8f2 100644 --- a/lib/libc/regex/regex2.h +++ b/lib/libc/regex/regex2.h @@ -186,7 +186,6 @@ struct re_guts { # define USEBOL 01 /* used ^ */ # define USEEOL 02 /* used $ */ # define BAD 04 /* something wrong */ -# define EMPTBR 010 /* empty branch present */ int nbol; /* number of ^ used */ int neol; /* number of $ used */ char *must; /* match must contain this string */ |