diff options
| author | Paul Eggert | 2011-07-10 23:05:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-07-10 23:05:57 -0700 |
| commit | da85a02af7585384008d3ebec836a7b8571f175d (patch) | |
| tree | e6d4f34119ea1c45985eaed207ef6b47f650ea93 /src/regex.c | |
| parent | 7f5515125fbc9b46454e1f84b7e3052a0a5326f0 (diff) | |
| parent | 4d45a8b7a237e1d33d0ae71d95a0ed7165ea6cda (diff) | |
| download | emacs-da85a02af7585384008d3ebec836a7b8571f175d.tar.gz emacs-da85a02af7585384008d3ebec836a7b8571f175d.zip | |
Merge from trunk.
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/regex.c b/src/regex.c index d347d274819..190d1d0fe21 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -2169,10 +2169,9 @@ extend_range_table_work_area (struct range_table_work_area *work_area) | |||
| 2169 | Returns -1 if successful, REG_ESPACE if ran out of space. */ | 2169 | Returns -1 if successful, REG_ESPACE if ran out of space. */ |
| 2170 | 2170 | ||
| 2171 | static int | 2171 | static int |
| 2172 | set_image_of_range_1 (work_area, start, end, translate) | 2172 | set_image_of_range_1 (struct range_table_work_area *work_area, |
| 2173 | RE_TRANSLATE_TYPE translate; | 2173 | re_wchar_t start, re_wchar_t end, |
| 2174 | struct range_table_work_area *work_area; | 2174 | RE_TRANSLATE_TYPE translate) |
| 2175 | re_wchar_t start, end; | ||
| 2176 | { | 2175 | { |
| 2177 | /* `one_case' indicates a character, or a run of characters, | 2176 | /* `one_case' indicates a character, or a run of characters, |
| 2178 | each of which is an isolate (no case-equivalents). | 2177 | each of which is an isolate (no case-equivalents). |
| @@ -2322,10 +2321,9 @@ set_image_of_range_1 (work_area, start, end, translate) | |||
| 2322 | Returns -1 if successful, REG_ESPACE if ran out of space. */ | 2321 | Returns -1 if successful, REG_ESPACE if ran out of space. */ |
| 2323 | 2322 | ||
| 2324 | static int | 2323 | static int |
| 2325 | set_image_of_range (work_area, start, end, translate) | 2324 | set_image_of_range (struct range_table_work_area *work_area, |
| 2326 | RE_TRANSLATE_TYPE translate; | 2325 | re_wchar_t start, re_wchar_t end, |
| 2327 | struct range_table_work_area *work_area; | 2326 | RE_TRANSLATE_TYPE translate) |
| 2328 | re_wchar_t start, end; | ||
| 2329 | { | 2327 | { |
| 2330 | re_wchar_t cmin, cmax; | 2328 | re_wchar_t cmin, cmax; |
| 2331 | 2329 | ||
| @@ -2412,8 +2410,7 @@ static re_char **best_regstart, **best_regend; | |||
| 2412 | but don't make them smaller. */ | 2410 | but don't make them smaller. */ |
| 2413 | 2411 | ||
| 2414 | static | 2412 | static |
| 2415 | regex_grow_registers (num_regs) | 2413 | regex_grow_registers (int num_regs) |
| 2416 | int num_regs; | ||
| 2417 | { | 2414 | { |
| 2418 | if (num_regs > regs_allocated_size) | 2415 | if (num_regs > regs_allocated_size) |
| 2419 | { | 2416 | { |