bug-global
[Top][All Lists]
Advanced

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

[PATCH] htags warning


From: Hideki IWAMOTO
Subject: [PATCH] htags warning
Date: Sun, 09 Mar 2003 05:36:52 +0900

The definition which is not referred to is not a problem.
So, you should warn only about the reference to the definition not existing.

Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.99
diff -u -r1.99 htags.in
--- htags/htags.in      6 Mar 2003 15:09:13 -0000       1.99
+++ htags/htags.in      8 Mar 2003 20:19:53 -0000
@@ -2164,7 +2164,9 @@
                                                }
                                        }
                                } else {
-                                       print STDERR "Warning: $file $LNO 
$TAG($TYPE) found but not referred.\n" if ($'wflag);
+                                       if ($TYPE eq 'R' || $TYPE eq 'Y') {
+                                               print STDERR "Warning: $file 
$LNO $TAG($TYPE) found but not defined.\n" if ($'wflag);
+                                       }
                                }
                        }
                        # implant links

----
Hideki IWAMOTO  address@hidden




reply via email to

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