diff --git a/check_source/check_spelling.py b/check_source/check_spelling.py index aac5c0042f605d4a71597f5e1dfe1106afc14fbb..54dd42356a2ee63ebf43831ae97bc73c8f0afc05 100755 --- a/check_source/check_spelling.py +++ b/check_source/check_spelling.py @@ -341,7 +341,7 @@ def spell_check_comments_recursive(dirpath): def is_source(filename): ext = splitext(filename)[1] - return (ext in {".c", ".inl", ".cpp", ".cxx", ".hpp", ".hxx", ".h", ".osl", ".py"}) + return (ext in {".c", ".inl", ".cpp", ".cxx", ".hpp", ".hxx", ".h", ".hh", ".m", ".mm", ".osl", ".py"}) for filepath in source_list(dirpath, is_source): spell_check_comments(filepath)