Ticket #2892: mc.ext: expand support of file extentions for source files

* Added support of .asm file extention
* Added support of .hh file extention
* All file extentions for source files now case insentetive.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2012-10-05 13:18:49 +03:00 committed by Andrew Borodin
parent 71ca307910
commit b3931a032e

View File

@ -278,24 +278,20 @@ type/^ASCII\ mail\ text
### Sources ### ### Sources ###
# C # C/C++
shell/.c regex/i/\.(c|cc|cpp)$
Include=editor
# C/C++ header
regex/i/\.(h|hh|hpp)$
Include=editor Include=editor
# Fortran # Fortran
shell/.f shell/i/.f
Include=editor Include=editor
# Header # Assembler
regex/\.(h|hpp)$ regex/i/\.(s|asm)$
Include=editor
# Asm
shell/.s
Include=editor
# C++
regex/\.(C|cc|cpp)$
Include=editor Include=editor
include/editor include/editor