From b39a0b64b55a8667a709375a3390b7e6cd4ca876 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Sun, 19 Oct 2014 00:48:54 +0200
Subject: [PATCH] Include obj-c source files

---
 check_source/check_spelling.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check_source/check_spelling.py b/check_source/check_spelling.py
index aac5c00..54dd423 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)
-- 
GitLab