[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b1c4c00 2/6: Remove inaccurate comment in regex.c
From: |
Michal Nazarewicz |
Subject: |
[Emacs-diffs] master b1c4c00 2/6: Remove inaccurate comment in regex.c |
Date: |
Fri, 9 Sep 2016 16:32:58 +0000 (UTC) |
branch: master
commit b1c4c0050057ca982cab28b8ad11b3175c3bb0d2
Author: Michal Nazarewicz <address@hidden>
Commit: Michal Nazarewicz <address@hidden>
Remove inaccurate comment in regex.c
* src/regex.c (regex_compile): Remove comment indicating that wctype of
some character classes may be negative. All wctypes are in fact
non-negative.
---
src/regex.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/regex.c b/src/regex.c
index c191f24..c808398 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -2879,8 +2879,7 @@ regex_compile (const_re_char *pattern, size_t size,
/* Most character classes in a multibyte match just set
a flag. Exceptions are is_blank, is_digit, is_cntrl, and
is_xdigit, since they can only match ASCII characters.
- We don't need to handle them for multibyte. They are
- distinguished by a negative wctype. */
+ We don't need to handle them for multibyte. */
/* Setup the gl_state object to its buffer-defined value.
This hardcodes the buffer-global syntax-table for ASCII
- [Emacs-diffs] master updated (e951aa1 -> 8634efa), Michal Nazarewicz, 2016/09/09
- [Emacs-diffs] master 4516130 5/6: Don’t allocate char-table’s extra slots in regexp-out-charset, Michal Nazarewicz, 2016/09/09
- [Emacs-diffs] master 3ffc5f4 1/6: STRING_CHAR does not unify characters; update documentation, Michal Nazarewicz, 2016/09/09
- [Emacs-diffs] master 8634efa 6/6: Split regex character class test into smaller chunks, Michal Nazarewicz, 2016/09/09
- [Emacs-diffs] master 0e7eb64 4/6: Remove dead loop iterations in regex.c, Michal Nazarewicz, 2016/09/09
- [Emacs-diffs] master c579b28 3/6: Replace decimalnump with alphanumericp, Michal Nazarewicz, 2016/09/09
- [Emacs-diffs] master b1c4c00 2/6: Remove inaccurate comment in regex.c,
Michal Nazarewicz <=