aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias EngdegÄrd2020-02-27 18:29:43 +0100
committerMattias EngdegÄrd2020-02-27 18:58:05 +0100
commit4859e8db9b518034418f536c5bab3f30cb4714e3 (patch)
tree1eb0e4909cfcdba2c021d772713d24ea3b83e607 /src
parent77f69a90bfe1d605765803debdc30436115f2b72 (diff)
downloademacs-4859e8db9b518034418f536c5bab3f30cb4714e3.tar.gz
emacs-4859e8db9b518034418f536c5bab3f30cb4714e3.zip
Revert "Don't complain about the regexp "[:-:]""
This reverts commit 3766bf728a43933083f4525970bcf9fdace3838d.
Diffstat (limited to 'src')
-rw-r--r--src/regex-emacs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex-emacs.c b/src/regex-emacs.c
index 794958eb461..38824370e05 100644
--- a/src/regex-emacs.c
+++ b/src/regex-emacs.c
@@ -2007,7 +2007,7 @@ regex_compile (re_char *pattern, ptrdiff_t size,
2007 if (*p == ':') 2007 if (*p == ':')
2008 { 2008 {
2009 re_char *q = p + 1; 2009 re_char *q = p + 1;
2010 while (q != pend && *q != ']' && *q != '-') 2010 while (q != pend && *q != ']')
2011 { 2011 {
2012 if (*q == ':') 2012 if (*q == ':')
2013 { 2013 {