diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-31 11:06:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-31 11:06:51 +0400 |
commit | c9d16fd22cb55666225044604d2da3c4156de4ae (patch) | |
tree | fb6c9585943a596fac43d2b4ef8659cd022f3633 /build_files/cmake/cmake_consistency_check.py | |
parent | 827f9aa737e32cbb962864c25fa7ede88ccd99c5 (diff) |
add ".hh" as an extension for source scripts.
Diffstat (limited to 'build_files/cmake/cmake_consistency_check.py')
-rwxr-xr-x | build_files/cmake/cmake_consistency_check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/cmake_consistency_check.py b/build_files/cmake/cmake_consistency_check.py index b13b0ddb424..665bc600efa 100755 --- a/build_files/cmake/cmake_consistency_check.py +++ b/build_files/cmake/cmake_consistency_check.py @@ -75,12 +75,12 @@ def is_cmake(filename): def is_c_header(filename): ext = splitext(filename)[1] - return (ext in (".h", ".hpp", ".hxx")) + return (ext in {".h", ".hpp", ".hxx", ".hh"}) def is_c(filename): ext = splitext(filename)[1] - return (ext in (".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl")) + return (ext in {".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl"}) def is_c_any(filename): |