summaryrefslogtreecommitdiff
path: root/lib/libc/regex/regerror.c
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-07-12 06:07:26 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-07-12 06:07:26 +0000
commit67aff1896cd6307b97a6625737bde874de2df778 (patch)
tree4c57e10772c5dc370c73b755520de78894fdc57b /lib/libc/regex/regerror.c
parentfbc3247d816a6c4c77324fdbd4e9188abc46aabe (diff)
Notes
Diffstat (limited to 'lib/libc/regex/regerror.c')
-rw-r--r--lib/libc/regex/regerror.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/regex/regerror.c b/lib/libc/regex/regerror.c
index 98882024adca..7942ef706940 100644
--- a/lib/libc/regex/regerror.c
+++ b/lib/libc/regex/regerror.c
@@ -81,6 +81,7 @@ static char *regatoi(const regex_t *preg, char *localbuf);
= #define REG_EMPTY 14
= #define REG_ASSERT 15
= #define REG_INVARG 16
+ = #define REG_ILLSEQ 17
= #define REG_ATOI 255 // convert name to number (!)
= #define REG_ITOA 0400 // convert number to name (!)
*/
@@ -105,6 +106,7 @@ static struct rerr {
{REG_EMPTY, "REG_EMPTY", "empty (sub)expression"},
{REG_ASSERT, "REG_ASSERT", "\"can't happen\" -- you found a bug"},
{REG_INVARG, "REG_INVARG", "invalid argument to regex routine"},
+ {REG_ILLSEQ, "REG_ILLSEQ", "illegal byte sequence"},
{0, "", "*** unknown regexp error code ***"}
};