From 586650f01cc83c2bbf307e7bfe21d3f76883ff71 Mon Sep 17 00:00:00 2001 From: Tobin Fricke Date: Tue, 2 Oct 2012 16:00:03 +0200 Subject: [PATCH] add .C and .H as file extensions for C++ "C" and "H" are two file extensions recognized by gcc as indicating C++ source code. The full list may be found here: http://gcc.gnu.org/onlinedocs/gcc-4.4.1/gcc/Overall-Options.html#index-file-name-suffix-71 --- lib/linguist/languages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 2567e403..c9cd17e7 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -190,8 +190,10 @@ C++: - cpp primary_extension: .cpp extensions: + - .C - .c++ - .cxx + - .H - .h++ - .hh - .hxx