Module Name: src
Committed By: rin
Date: Tue Nov 21 02:53:20 UTC 2017
Modified Files:
src/external/bsd/tre/dist/lib: tre.h
Log Message:
Add REG_INVARG and REG_STARTEND ifndef TRE_USE_SYSTEM_REGEX_H.
No functional changes at the moment.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/tre/dist/lib/tre.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/tre/dist/lib/tre.h
diff -u src/external/bsd/tre/dist/lib/tre.h:1.5 src/external/bsd/tre/dist/lib/tre.h:1.6
--- src/external/bsd/tre/dist/lib/tre.h:1.5 Fri Nov 17 16:14:30 2017
+++ src/external/bsd/tre/dist/lib/tre.h Tue Nov 21 02:53:20 2017
@@ -98,7 +98,8 @@ typedef enum {
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 @@ typedef enum {
/* 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 */