From be13f5e59d834c816580c357466d59a8d57b5b54 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sun, 24 Oct 2004 03:58:24 +0000 Subject: [PATCH] (enum reg_errcode_t): New value REG_ERANGEX. --- src/ChangeLog | 7 +++++++ src/regex.h | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 433f51897b8..8544a1781af 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2004-10-24 Kenichi Handa + + * 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 * editfns.c (Ftranslate_region_internal): New function. diff --git a/src/regex.h b/src/regex.h index f969c9c5e74..2cdb02993b1 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 -- 2.39.5