bug-global
[Top][All Lists]
Advanced

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

[PATCH] language map


From: Hideki IWAMOTO
Subject: [PATCH] language map
Date: Sun, 16 Feb 2003 22:20:06 +0900

The treatment of .c and .h became reverse between the version 4.4 and the 
version 4.5.
I think that this is a bug.

Index: gctags/gctags.c
===================================================================
RCS file: /cvsroot/global/global/gctags/gctags.c,v
retrieving revision 1.13
diff -u -r1.13 gctags.c
--- gctags/gctags.c     16 Feb 2003 02:56:14 -0000      1.13
+++ gctags/gctags.c     16 Feb 2003 13:11:08 -0000
@@ -276,7 +276,7 @@
                 * call language specific parser.
                 */
                if (!strcmp(lang, "c")) {
-                       if (!locatestring(suffix, ".h", MATCH_COMPLETE) && 
isCpp())
+                       if (locatestring(suffix, ".h", MATCH_COMPLETE) && 
isCpp())
                                Cpp();
                        else
                                C(0);

----
Hideki IWAMOTO  address@hidden




reply via email to

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