diff options
| author | Paul Eggert | 2019-03-25 08:47:57 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-03-25 09:03:29 -0700 |
| commit | 176ababa8cf57564cf9374c15ffdc14fa76be39f (patch) | |
| tree | c761e8a74a2a634e69f4648ff6637cb3ef2ec21f /src | |
| parent | 67c3a3af1d9e2582193d5ea33b6c190e79ad56e6 (diff) | |
| download | emacs-176ababa8cf57564cf9374c15ffdc14fa76be39f.tar.gz emacs-176ababa8cf57564cf9374c15ffdc14fa76be39f.zip | |
* src/regex-emacs.c (regex_compile): Fix comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex-emacs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/regex-emacs.c b/src/regex-emacs.c index 45b4f8107c7..e7849157c85 100644 --- a/src/regex-emacs.c +++ b/src/regex-emacs.c | |||
| @@ -1302,9 +1302,7 @@ struct range_table_work_area | |||
| 1302 | int bits; /* flag to record character classes */ | 1302 | int bits; /* flag to record character classes */ |
| 1303 | }; | 1303 | }; |
| 1304 | 1304 | ||
| 1305 | /* Make sure that WORK_AREA can hold more N multibyte characters. | 1305 | /* Make sure that WORK_AREA can hold N more multibyte characters. |
| 1306 | This is used only in set_image_of_range and set_image_of_range_1. | ||
| 1307 | It expects WORK_AREA to be a pointer. | ||
| 1308 | If it can't get the space, it returns from the surrounding function. */ | 1306 | If it can't get the space, it returns from the surrounding function. */ |
| 1309 | 1307 | ||
| 1310 | #define EXTEND_RANGE_TABLE(work_area, n) \ | 1308 | #define EXTEND_RANGE_TABLE(work_area, n) \ |
| @@ -1732,7 +1730,7 @@ regex_compile (re_char *pattern, size_t size, | |||
| 1732 | /* Work area for range table of charset. */ | 1730 | /* Work area for range table of charset. */ |
| 1733 | struct range_table_work_area range_table_work; | 1731 | struct range_table_work_area range_table_work; |
| 1734 | 1732 | ||
| 1735 | /* If the object matched can contain multibyte characters. */ | 1733 | /* If the regular expression is multibyte. */ |
| 1736 | bool multibyte = RE_MULTIBYTE_P (bufp); | 1734 | bool multibyte = RE_MULTIBYTE_P (bufp); |
| 1737 | 1735 | ||
| 1738 | /* Nonzero if we have pushed down into a subpattern. */ | 1736 | /* Nonzero if we have pushed down into a subpattern. */ |