diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c index fe527dd2294..2d291b323e1 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -1251,7 +1251,8 @@ typedef union | |||
| 1251 | 1251 | ||
| 1252 | 1252 | ||
| 1253 | /* Registers are set to a sentinel when they haven't yet matched. */ | 1253 | /* Registers are set to a sentinel when they haven't yet matched. */ |
| 1254 | #define REG_UNSET_VALUE ((char *) -1) | 1254 | static char reg_unset_dummy; |
| 1255 | #define REG_UNSET_VALUE (®_unset_dummy) | ||
| 1255 | #define REG_UNSET(e) ((e) == REG_UNSET_VALUE) | 1256 | #define REG_UNSET(e) ((e) == REG_UNSET_VALUE) |
| 1256 | 1257 | ||
| 1257 | 1258 | ||