qemacs-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemacs-commit] qemacs clang.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs clang.c
Date: Sun, 18 May 2014 10:47:17 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        14/05/18 10:47:16

Modified files:
        .              : clang.c 

Log message:
        select c-mode for .i intermediary files

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/clang.c?cvsroot=qemacs&r1=1.63&r2=1.64

Patches:
Index: clang.c
===================================================================
RCS file: /sources/qemacs/qemacs/clang.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- clang.c     17 May 2014 10:15:21 -0000      1.63
+++ clang.c     18 May 2014 10:47:13 -0000      1.64
@@ -302,7 +302,7 @@
 };
 
 static const char c_mode_extensions[] = {
-    "c|h|C|H|"          /* C language */
+    "c|h|i|C|H|I|"      /* C language */
     "y|l|lex|"          /* yacc, lex */
     "cc|hh|cpp|hpp|cxx|hxx|CPP|CC|c++|"   /* C++ */
     "m|mm|"             /* Objective-C, Limbo */
@@ -1281,7 +1281,7 @@
     text_mode.mode_init(s, saved_data);
 
     /* Select C like flavor */
-    if (match_extension(base, "c|h|C|H")) {
+    if (match_extension(base, "c|h|i|C|H|I")) {
         s->mode_flags = CLANG_C | CLANG_CC;
     } else
     if (match_extension(base, "y")) {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]