summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/srcclean.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-05-01 20:27:50 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-05-01 20:27:50 +0200
commitbe67262fc21f75d40dead90256c0ec3142be7b12 (patch)
tree4013158c275962acd59cd78df4932dc117efa0a7 /src/tools/srcclean.cpp
parent66d0dd3d8255ae33a5a28455a540c71c032a11e9 (diff)
INC -> HXX makes editors and code analyzers see it as C++ (nw)
Diffstat (limited to 'src/tools/srcclean.cpp')
-rw-r--r--src/tools/srcclean.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/srcclean.cpp b/src/tools/srcclean.cpp
index 0af298a4441..6f5c7c7f455 100644
--- a/src/tools/srcclean.cpp
+++ b/src/tools/srcclean.cpp
@@ -125,7 +125,7 @@ int main(int argc, char *argv[])
/* determine if we are a C file */
ext = strrchr(argv[1], '.');
- is_c_file = (ext && (core_stricmp(ext, ".c") == 0 || core_stricmp(ext, ".h") == 0 || core_stricmp(ext, ".cpp") == 0 || core_stricmp(ext, ".inc") == 0 || core_stricmp(ext, ".lst") == 0));
+ is_c_file = (ext && (core_stricmp(ext, ".c") == 0 || core_stricmp(ext, ".h") == 0 || core_stricmp(ext, ".cpp") == 0 || core_stricmp(ext, ".hxx") == 0 || core_stricmp(ext, ".lst") == 0));
is_xml_file = (ext && core_stricmp(ext, ".xml") == 0);
/* rip through it */