aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobin Fricke <tobin@pas.rochester.edu>2012-10-02 16:00:03 +0200
committerMislav Marohnić <mislav.marohnic@gmail.com>2012-12-06 23:28:32 +0100
commit586650f01cc83c2bbf307e7bfe21d3f76883ff71 (patch)
treec6f2912b066650a70362270dc2f0df17d8d243dd
parentae753e6e88d743f47b1f43f1488e39af6baf08ca (diff)
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
-rw-r--r--lib/linguist/languages.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml
index 2567e40..c9cd17e 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