From b3931a032e1ff22603ab494da7c9b2b786534891 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Fri, 5 Oct 2012 13:18:49 +0300 Subject: [PATCH] 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 --- misc/mc.ext.in | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/misc/mc.ext.in b/misc/mc.ext.in index 5f5121543..b3d3f3f18 100644 --- a/misc/mc.ext.in +++ b/misc/mc.ext.in @@ -278,24 +278,20 @@ type/^ASCII\ mail\ text ### Sources ### -# C -shell/.c +# C/C++ +regex/i/\.(c|cc|cpp)$ Include=editor -# Fortran -shell/.f - Include=editor - -# Header -regex/\.(h|hpp)$ +# C/C++ header +regex/i/\.(h|hh|hpp)$ Include=editor -# Asm -shell/.s +# Fortran +shell/i/.f Include=editor -# C++ -regex/\.(C|cc|cpp)$ +# Assembler +regex/i/\.(s|asm)$ Include=editor include/editor -- 2.11.4.GIT