Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/tre/dist/lib Add REG_INVARG and REG_STARTEND if...
details: https://anonhg.NetBSD.org/src/rev/9fa5fbfcb13f
branches: trunk
changeset: 357670:9fa5fbfcb13f
user: rin <rin%NetBSD.org@localhost>
date: Tue Nov 21 02:53:20 2017 +0000
description:
Add REG_INVARG and REG_STARTEND ifndef TRE_USE_SYSTEM_REGEX_H.
No functional changes at the moment.
diffstat:
external/bsd/tre/dist/lib/tre.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r e969dd7f786f -r 9fa5fbfcb13f external/bsd/tre/dist/lib/tre.h
--- a/external/bsd/tre/dist/lib/tre.h Tue Nov 21 02:50:35 2017 +0000
+++ b/external/bsd/tre/dist/lib/tre.h Tue Nov 21 02:53:20 2017 +0000
@@ -98,7 +98,8 @@
REG_BADBR, /* Invalid content of {} */
REG_ERANGE, /* Invalid use of range operator */
REG_ESPACE, /* Out of memory. */
- REG_BADRPT /* Invalid use of repetition operators. */
+ REG_BADRPT, /* Invalid use of repetition operators. */
+ REG_INVARG, /* Invalid arguments. */
} reg_errcode_t;
/* POSIX tre_regcomp() flags. */
@@ -122,6 +123,7 @@
/* Extra tre_regexec() flags. */
#define REG_APPROX_MATCHER (REG_NOTEOL << 1)
#define REG_BACKTRACKING_MATCHER (REG_APPROX_MATCHER << 1)
+#define REG_STARTEND (REG_BACKTRACKING_MATCHER << 1)
#endif /* !TRE_USE_SYSTEM_REGEX_H */
Home |
Main Index |
Thread Index |
Old Index