From b6bae60d83eda6b168368fa40f42ade9dfc86df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Thu, 9 Sep 2021 16:16:03 +0100 Subject: maintainer-makefile: add 'can' to sc_prohibit_doubled_word * top/maint.mk (sc_prohibit_doubled_word): Check for "can can". --- ChangeLog | 5 +++++ top/maint.mk | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7c56ed2a2f..a7fd469f49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-09-09 Pádraig Brady + + 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 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_))) -- cgit v1.2.1