summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/regex/regex2.h
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-09-19 13:28:47 +0300
committerDan McDonald <danmcd@joyent.com>2019-10-22 11:09:13 -0400
commit62e7498000cb79c72fafb7270dbc3beb8a41863d (patch)
treefae4d56a53784eb331008a57d80d48e832d4e09c /usr/src/lib/libc/port/regex/regex2.h
parent65f204200cf9a50fd6bad4093ee0b07bc35105ac (diff)
downloadillumos-joyent-62e7498000cb79c72fafb7270dbc3beb8a41863d.tar.gz
8993 regex: Refactor fast/slow stepping bits in the matching engine
Portions contributed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libc/port/regex/regex2.h')
-rw-r--r--usr/src/lib/libc/port/regex/regex2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/lib/libc/port/regex/regex2.h b/usr/src/lib/libc/port/regex/regex2.h
index 551611c610..44b20c3c24 100644
--- a/usr/src/lib/libc/port/regex/regex2.h
+++ b/usr/src/lib/libc/port/regex/regex2.h
@@ -186,4 +186,5 @@ struct re_guts {
/* misc utilities */
#define OUT (CHAR_MIN - 1) /* a non-character value */
+#define IGN (CHAR_MIN - 2)
#define ISWORD(c) (iswalnum((uch)(c)) || (c) == '_')