diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/regex.c b/src/regex.c index c9219c66c83..09f56a1dffc 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 0.12. (Implements POSIX draft P10003.2/D11.2, except for | 2 | 0.12. (Implements POSIX draft P10003.2/D11.2, except for |
| 3 | internationalization features.) | 3 | internationalization features.) |
| 4 | 4 | ||
| 5 | Copyright (C) 1993, 1994-1998, 1999 Free Software Foundation, Inc. | 5 | Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| @@ -3534,8 +3534,9 @@ re_compile_fastmap (bufp) | |||
| 3534 | multibyte character in the range table. */ | 3534 | multibyte character in the range table. */ |
| 3535 | int c, count; | 3535 | int c, count; |
| 3536 | 3536 | ||
| 3537 | /* Make P points the range table. */ | 3537 | /* Make P points the range table. `+ 2' is to skip flag |
| 3538 | p += CHARSET_BITMAP_SIZE (&p[-2]); | 3538 | bits for a character class. */ |
| 3539 | p += CHARSET_BITMAP_SIZE (&p[-2]) + 2; | ||
| 3539 | 3540 | ||
| 3540 | /* Extract the number of ranges in range table into COUNT. */ | 3541 | /* Extract the number of ranges in range table into COUNT. */ |
| 3541 | EXTRACT_NUMBER_AND_INCR (count, p); | 3542 | EXTRACT_NUMBER_AND_INCR (count, p); |