bug-global
[Top][All Lists]
Advanced

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

[PATCH] include file index


From: Hideki IWAMOTO
Subject: [PATCH] include file index
Date: Fri, 21 Mar 2003 19:37:59 +0900

* Add suffix .hxx
* When --other option is specified, register all files to %includes.
  This is useful when standard C++ header (it does not have suffix)
  or file with suffix which is not common are included.
* Fix comment


Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.104
diff -u -r1.104 htags.in
--- htags/htags.in      20 Mar 2003 17:04:28 -0000      1.104
+++ htags/htags.in      21 Mar 2003 10:17:28 -0000
@@ -811,11 +811,11 @@
 #      HTML/defines/*          ... definitions index (5)
 #      HTML/files.html         ... file index (6)
 #      HTML/files/*            ... file index (6)
+#      HTML/I/                 ... include file index (6)
 #      HTML/index.html         ... index file (7)
 #      HTML/mains.html         ... main index (8)
 #      HTML/null.html          ... main null html (8)
 #      HTML/S/                 ... source files (9)
-#      HTML/I/                 ... include file index (9)
 #      HTML/rebuild.sh         ... rebuild script (10)
 #-------------------------------------------------------------------------
 $'HTML = ($'cflag) ? $'gzipped_suffix : $'normal_suffix;
@@ -1670,7 +1670,7 @@
                }
                # collect include files. format is
                #       counter + '\n' + path1 + '\n' + path2 ...
-               if (/.*\.[hH]$/) {
+               if (/.*\.(h|hxx|H)$/ || $'other_files) {
                        if (! defined $includes{$file}) {
                                $includes{$file} = "$count\n$_";
                        } else {

----
Hideki IWAMOTO  address@hidden




reply via email to

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