diff options
Diffstat (limited to 'regcustom.h')
| -rw-r--r-- | regcustom.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/regcustom.h b/regcustom.h index 1b25fed..24bd130 100644 --- a/regcustom.h +++ b/regcustom.h @@ -109,10 +109,6 @@ typedef int32_t celt; /* Type to hold chr, or NOCELT */ #define CHRBITS 32 /* Bits in a chr; must not use sizeof */ #define CHR_MIN 0x00000000 /* Smallest and largest chr; the value */ #define CHR_MAX 0xffffffff /* CHR_MAX-CHR_MIN+1 should fit in uchr */ -#elif defined(REGEX_STANDALONE) && ! defined(REGEX_UTF8) -# define CHRBITS 8 -# define CHR_MIN 0x00 -# define CHR_MAX 0xff #else #define CHRBITS 16 /* Bits in a chr; must not use sizeof */ #define CHR_MIN 0x0000 /* Smallest and largest chr; the value */ @@ -133,15 +129,9 @@ typedef int32_t celt; /* Type to hold chr, or NOCELT */ */ #ifdef REGEX_STANDALONE -# ifdef REGEX_UTF8 -# define compile re_ucomp -# define exec re_uexec -# define __REG_NOCHAR -# else -# define compile re_comp -# define exec re_exec -# undef __REG_NOCHAR -# endif +#define compile re_comp +#define exec re_exec +#undef __REG_NOCHAR #else #define compile TclReComp #define exec TclReExec |
