[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 176abab 1/2: * src/regex-emacs.c (regex_compile): F
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 176abab 1/2: * src/regex-emacs.c (regex_compile): Fix comments. |
Date: |
Mon, 25 Mar 2019 12:03:35 -0400 (EDT) |
branch: master
commit 176ababa8cf57564cf9374c15ffdc14fa76be39f
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
* src/regex-emacs.c (regex_compile): Fix comments.
---
src/regex-emacs.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/regex-emacs.c b/src/regex-emacs.c
index 45b4f81..e7849157 100644
--- a/src/regex-emacs.c
+++ b/src/regex-emacs.c
@@ -1302,9 +1302,7 @@ struct range_table_work_area
int bits; /* flag to record character classes */
};
-/* Make sure that WORK_AREA can hold more N multibyte characters.
- This is used only in set_image_of_range and set_image_of_range_1.
- It expects WORK_AREA to be a pointer.
+/* Make sure that WORK_AREA can hold N more multibyte characters.
If it can't get the space, it returns from the surrounding function. */
#define EXTEND_RANGE_TABLE(work_area, n) \
@@ -1732,7 +1730,7 @@ regex_compile (re_char *pattern, size_t size,
/* Work area for range table of charset. */
struct range_table_work_area range_table_work;
- /* If the object matched can contain multibyte characters. */
+ /* If the regular expression is multibyte. */
bool multibyte = RE_MULTIBYTE_P (bufp);
/* Nonzero if we have pushed down into a subpattern. */