diff --git a/check_source/check_spelling.py b/check_source/check_spelling.py index 402d976ab49d75a5fe8fbe0658873b82cfacdadd..941ebaac08398e079553caa14d4e76ed9a3dd724 100755 --- a/check_source/check_spelling.py +++ b/check_source/check_spelling.py @@ -309,6 +309,8 @@ def extract_c_comments(filepath): for i, i_next in code_ranges: for match in re_vars.finditer(text[i:i_next]): code_words.add(match.group(0)) + # Allow plurals of these variables too. + code_words.add(match.group(0) + "'s") comments = []