Skip to content

Commit 294e2dd

Browse files
authored
Merge pull request #46 from cgkantidis/master
2 parents 441f467 + 97ca68e commit 294e2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileTypeFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ IFileTypePtr FileTypeFactory::CreateFileType(
1717
unsigned minChars) {
1818
auto ext = StringUtil::ToLower(StringUtil::GetFileExtension(filename));
1919
IFileTypePtr fileType;
20-
if (ext == "c" || ext == "cpp" || ext == "cxx" || ext == "h" || ext == "cc")
20+
if (ext == "c" || ext == "cpp" || ext == "cxx" || ext == "h" || ext == "cc" || ext == "hh")
2121
fileType.reset(new FileType_C(ignorePrepStuff, minChars));
2222
else if (ext == "cs")
2323
fileType.reset(new FileType_CS(ignorePrepStuff, minChars));

0 commit comments

Comments
 (0)