From fe9434bb2f2ebf955340444b76e50efc6ee69dc9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 23 Nov 2003 09:46:38 +0000 Subject: Update. 2003-11-23 Ulrich Drepper * posix/regexec.c: Add const in a number of places. * posix/regex_internal.h: Make EPSILON_BIT a macro to help debugging. Its value isn't important. --- posix/regex_internal.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'posix/regex_internal.h') diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 0230b5d73e..5111f6d793 100644 --- a/posix/regex_internal.h +++ b/posix/regex_internal.h @@ -178,7 +178,9 @@ typedef enum OP_UTF8_PERIOD = 7, #endif /* RE_ENABLE_I18N */ - EPSILON_BIT = 8, + /* We define EPSILON_BIT as a macro so that OP_OPEN_SUBEXP is used + when the debugger shows values of this enum type. */ +#define EPSILON_BIT 8 OP_OPEN_SUBEXP = EPSILON_BIT | 0, OP_CLOSE_SUBEXP = EPSILON_BIT | 1, OP_ALT = EPSILON_BIT | 2, -- cgit v1.2.3