aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2004-10-24 03:58:24 +0000
committerKenichi Handa <[email protected]>2004-10-24 03:58:24 +0000
commitbe13f5e59d834c816580c357466d59a8d57b5b54 (patch)
treeb142f2e0d40719823e8e425a6443abb37c7eeee9
parentb3e4c897957b01ff96f057127851c6b6cdf29c4a (diff)
(enum reg_errcode_t): New value REG_ERANGEX.
-rw-r--r--src/ChangeLog7
-rw-r--r--src/regex.h3
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 433f51897b..8544a1781a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-24 Kenichi Handa <[email protected]>
+
+ * regex.h (enum reg_errcode_t): New value REG_ERANGEX.
+
+ * regex.c (re_error_msgid): Add an entry for REG_ERANGEX.
+ (regex_compile): Return REG_ERANGEX if appropriate.
+
2004-10-22 Kenichi Handa <[email protected]>
* editfns.c (Ftranslate_region_internal): New function.
diff --git a/src/regex.h b/src/regex.h
index f969c9c5e7..2cdb02993b 100644
--- a/src/regex.h
+++ b/src/regex.h
@@ -316,7 +316,8 @@ typedef enum
/* Error codes we've added. */
REG_EEND, /* Premature end. */
REG_ESIZE, /* Compiled pattern bigger than 2^16 bytes. */
- REG_ERPAREN /* Unmatched ) or \); not returned from regcomp. */
+ REG_ERPAREN, /* Unmatched ) or \); not returned from regcomp. */
+ REG_ERANGEX /* Range striding over charsets. */
} reg_errcode_t;
/* This data structure represents a compiled pattern. Before calling