bug-global
[Top][All Lists]
Advanced

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

[PATCH] add option --no-map-file and configuration variable no_map_file


From: Hideki IWAMOTO
Subject: [PATCH] add option --no-map-file and configuration variable no_map_file
Date: Sat, 24 May 2003 23:07:58 +0900

Since I do not use MAP file, I want to omit making it.


Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.122
diff -u -r1.122 htags.in
--- htags/htags.in      21 May 2003 08:46:49 -0000      1.122
+++ htags/htags.in      24 May 2003 14:04:53 -0000
@@ -81,6 +81,7 @@
 $'cgi = 1;                                     # 1: make cgi-bin/
 $'definition_header='after';                   # {no|after|before}
 $'other_files = 0;                             # 1: list other files
+$'map_file = 1;
 #
 # tag
 #
@@ -221,6 +222,9 @@
 if (&'getconf('no_javascript')) {
        $'use_javascript = 0;
 }
+if (&'getconf('no_map_file')) {
+       $'map_file = 0;
+}
 if ($var1 = &'getconf('show_position')) {
        $'show_position = $var1;
 }
@@ -609,7 +613,6 @@
 $'aflag = $'cflag = $'Dflag = $'fflag = $'Fflag = $'gflag = $'nflag = $'sflag 
= $'Sflag = $'vflag = $'wflag = '';
 $show_version = 0;
 $show_help = 0;
-$map_file = 1;
 $include_caution = '';
 $action_value = '';
 $id_value = '';
@@ -652,6 +655,8 @@
                ;               # --gtagslabel is estimated only once.
        } elsif ($opt =~ /^--gtagslabel$/) {
                shift;          # --gtagslabel is estimated only once.
+       } elsif ($opt =~ /^--no-map-file$/) {
+               $'map_file = 0;
        } elsif ($opt =~ /^--line-number$/) {
                $'nflag = 'n';
        } elsif ($opt =~ /^--other$/) {
Index: htags/manual.in
===================================================================
RCS file: /cvsroot/global/global/htags/manual.in,v
retrieving revision 1.46
diff -u -r1.46 manual.in
--- htags/manual.in     22 May 2003 04:54:08 -0000      1.46
+++ htags/manual.in     24 May 2003 14:04:53 -0000
@@ -88,6 +88,8 @@
        @address@hidden
                Doesn't generate javascript code.
                By default, @name{htags} generates javascript code.
+       @address@hidden
+               Doesn't generate @file{MAP} file. By default, @name{htags} 
generates it.
        @address@hidden, @option{--other}}
                Pick up not only source files but also other files except for
                binary files.
@@ -221,6 +223,8 @@
                Suffix for normal html file. The default is 'html'.
        @address@hidden(boolean)}
                Doesn't generate javascript code. By default, @name{htags} 
generates javascript code.
+       @address@hidden(boolean)}
+               Doesn't generate @file{MAP} file. The default is false.
        @address@hidden(string)}
                Suffix for compressed html file. The default is 'ghtml'.
        @address@hidden(string)}

----
Hideki IWAMOTO  address@hidden





reply via email to

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