diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-11-23 09:46:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-11-23 09:46:38 +0000 |
commit | fe9434bb2f2ebf955340444b76e50efc6ee69dc9 (patch) | |
tree | de809fd9d768803dfc385d5aab1e46aaa2d207b8 /posix/regex_internal.h | |
parent | 18e3dc56e43e3e8e997845c0934e14296ba18bb7 (diff) | |
download | glibc-fe9434bb2f2ebf955340444b76e50efc6ee69dc9.zip glibc-fe9434bb2f2ebf955340444b76e50efc6ee69dc9.tar.gz glibc-fe9434bb2f2ebf955340444b76e50efc6ee69dc9.tar.bz2 |
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h index 0230b5d..5111f6d 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, |