aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Nazarewicz2016-08-03 03:48:22 +0200
committerMichal Nazarewicz2016-09-09 03:07:15 +0200
commitb1c4c0050057ca982cab28b8ad11b3175c3bb0d2 (patch)
tree5c111083fd6ff02a7400020f291a5f70c26712a2 /src
parent3ffc5f44b09e2b500584545389efb8db3be04f95 (diff)
downloademacs-b1c4c0050057ca982cab28b8ad11b3175c3bb0d2.tar.gz
emacs-b1c4c0050057ca982cab28b8ad11b3175c3bb0d2.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/regex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regex.c b/src/regex.c
index c191f2462ad..c808398cda6 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -2879,8 +2879,7 @@ regex_compile (const_re_char *pattern, size_t size,
2879 /* Most character classes in a multibyte match just set 2879 /* Most character classes in a multibyte match just set
2880 a flag. Exceptions are is_blank, is_digit, is_cntrl, and 2880 a flag. Exceptions are is_blank, is_digit, is_cntrl, and
2881 is_xdigit, since they can only match ASCII characters. 2881 is_xdigit, since they can only match ASCII characters.
2882 We don't need to handle them for multibyte. They are 2882 We don't need to handle them for multibyte. */
2883 distinguished by a negative wctype. */
2884 2883
2885 /* Setup the gl_state object to its buffer-defined value. 2884 /* Setup the gl_state object to its buffer-defined value.
2886 This hardcodes the buffer-global syntax-table for ASCII 2885 This hardcodes the buffer-global syntax-table for ASCII