about summary refs log tree commit diff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-23 09:46:38 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-23 09:46:38 +0000
commitfe9434bb2f2ebf955340444b76e50efc6ee69dc9 (patch)
treede809fd9d768803dfc385d5aab1e46aaa2d207b8 /posix/regex_internal.h
parent18e3dc56e43e3e8e997845c0934e14296ba18bb7 (diff)
downloadglibc-fe9434bb2f2ebf955340444b76e50efc6ee69dc9.tar.gz
glibc-fe9434bb2f2ebf955340444b76e50efc6ee69dc9.tar.xz
glibc-fe9434bb2f2ebf955340444b76e50efc6ee69dc9.zip
Update.
2003-11-23  Ulrich Drepper  <drepper@redhat.com>

	* 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.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h4
1 files changed, 3 insertions, 1 deletions
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,