summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2021-09-09 16:16:03 +0100
committerPádraig Brady <P@draigBrady.com>2021-09-09 16:21:20 +0100
commitb6bae60d83eda6b168368fa40f42ade9dfc86df0 (patch)
tree9b4798a6656cd52979b7a9521510e02427458fe0
parentd9559536909c5c8f819321cabc05f12652c7f9fd (diff)
downloadgnulib-b6bae60d83eda6b168368fa40f42ade9dfc86df0.tar.gz
maintainer-makefile: add 'can' to sc_prohibit_doubled_word
* top/maint.mk (sc_prohibit_doubled_word): Check for "can can".
-rw-r--r--ChangeLog5
-rw-r--r--top/maint.mk2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c56ed2a2f..a7fd469f49 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-09-09 Pádraig Brady <P@draigBrady.com>
+
+ maintainer-makefile: add 'can' to sc_prohibit_doubled_word
+ * top/maint.mk (sc_prohibit_doubled_word): Check for "can can".
+
2021-09-08 Paul Eggert <eggert@cs.ucla.edu>
strerror_r-posix: port even better to Android
diff --git a/top/maint.mk b/top/maint.mk
index 72070a7b03..0aa63773cf 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1031,7 +1031,7 @@ perl_filename_lineno_text_ = \
-e ' }'
prohibit_doubled_words_ = \
- the then in an on if is it but for or at and do to
+ the then in an on if is it but for or at and do to can
# expand the regex before running the check to avoid using expensive captures
prohibit_doubled_word_expanded_ = \
$(join $(prohibit_doubled_words_),$(addprefix \s+,$(prohibit_doubled_words_)))