aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-03-10 17:27:26 +0200
committerEli Zaretskii2016-03-10 17:27:26 +0200
commita589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (patch)
treec48c023858e992968ce74a7cc8bd8e3aeea3ffe3
parent72c7438c4c6ee0d24405636cde4b18c32034a634 (diff)
downloademacs-a589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448.tar.gz
emacs-a589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448.zip
By default, etags produces unqualified Perl tag names
* lib-src/etags.c (Perl_functions): Produce unqualified names, unless -Q was specified. (print_help): Update the description of -Q. * doc/man/etags.1: Update the documentation of -Q. * test/etags/ETAGS.good_1: * test/etags/ETAGS.good_2: * test/etags/ETAGS.good_3: * test/etags/ETAGS.good_4: * test/etags/ETAGS.good_5: * test/etags/CTAGS.good: Adapt the expected test results to the changed Perl functionality.
-rw-r--r--doc/man/etags.16
-rw-r--r--lib-src/etags.c27
-rw-r--r--test/etags/CTAGS.good42
-rw-r--r--test/etags/ETAGS.good_148
-rw-r--r--test/etags/ETAGS.good_248
-rw-r--r--test/etags/ETAGS.good_348
-rw-r--r--test/etags/ETAGS.good_448
-rw-r--r--test/etags/ETAGS.good_548
8 files changed, 165 insertions, 150 deletions
diff --git a/doc/man/etags.1 b/doc/man/etags.1
index fc247f758a3..83b970f906c 100644
--- a/doc/man/etags.1
+++ b/doc/man/etags.1
@@ -145,10 +145,10 @@ May be used (only once) in place of a file name on the command line.
145\fBetags\fP will read from standard input and mark the produced tags 145\fBetags\fP will read from standard input and mark the produced tags
146as belonging to the file \fBFILE\fP. 146as belonging to the file \fBFILE\fP.
147.TP 147.TP
148\fB\-\-class\-qualify\fP 148\fB \-Q, \-\-class\-qualify\fP
149Qualify tag names with their class name in C++, ObjC, and Java. 149Qualify tag names with their class name in C++, ObjC, Java, and Perl.
150This produces tag names of the form \fIclass\fP\fB::\fP\fImember\fP 150This produces tag names of the form \fIclass\fP\fB::\fP\fImember\fP
151for C++, 151for C++ and Perl,
152\fIclass\fP\fB(\fP\fIcategory\fP\fB)\fP for Objective C, and \fIclass\fP\fB.\fP\fImember\fP for Java. 152\fIclass\fP\fB(\fP\fIcategory\fP\fB)\fP for Objective C, and \fIclass\fP\fB.\fP\fImember\fP for Java.
153For Objective C, this also produces class methods qualified with 153For Objective C, this also produces class methods qualified with
154their arguments, as in \fIfoo\fP\fB:\fP\fIbar\fP\fB:\fP\fIbaz\fP\fB:\fP\fImore\fP. 154their arguments, as in \fIfoo\fP\fB:\fP\fIbar\fP\fB:\fP\fIbaz\fP\fB:\fP\fImore\fP.
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 182cb4cc876..e8e15769606 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -971,11 +971,12 @@ Relative ones are stored relative to the output file's directory.\n");
971 in some languages."); 971 in some languages.");
972 972
973 puts ("-Q, --class-qualify\n\ 973 puts ("-Q, --class-qualify\n\
974 Qualify tag names with their class name in C++, ObjC, and Java.\n\ 974 Qualify tag names with their class name in C++, ObjC, Java, and Perl.\n\
975 This produces tag names of the form \"class::member\" for C++,\n\ 975 This produces tag names of the form \"class::member\" for C++,\n\
976 \"class(category)\" for Objective C, and \"class.member\" for Java.\n\ 976 \"class(category)\" for Objective C, and \"class.member\" for Java.\n\
977 For Objective C, this also produces class methods qualified with\n\ 977 For Objective C, this also produces class methods qualified with\n\
978 their arguments, as in \"foo:bar:baz:more\"."); 978 their arguments, as in \"foo:bar:baz:more\".\n\
979 For Perl, this produces \"package::member\".");
979 puts ("-r REGEXP, --regex=REGEXP or --regex=@regexfile\n\ 980 puts ("-r REGEXP, --regex=REGEXP or --regex=@regexfile\n\
980 Make a tag for each line matching a regular expression pattern\n\ 981 Make a tag for each line matching a regular expression pattern\n\
981 in the following files. {LANGUAGE}REGEXP uses REGEXP for LANGUAGE\n\ 982 in the following files. {LANGUAGE}REGEXP uses REGEXP for LANGUAGE\n\
@@ -4534,10 +4535,21 @@ Perl_functions (FILE *inf)
4534 continue; /* nothing found */ 4535 continue; /* nothing found */
4535 pos = strchr (sp, ':'); 4536 pos = strchr (sp, ':');
4536 if (pos && pos < cp && pos[1] == ':') 4537 if (pos && pos < cp && pos[1] == ':')
4537 /* The name is already qualified. */ 4538 {
4538 make_tag (sp, cp - sp, true, 4539 /* The name is already qualified. */
4539 lb.buffer, cp - lb.buffer + 1, lineno, linecharno); 4540 if (!class_qualify)
4540 else 4541 {
4542 char *q = pos + 2, *qpos;
4543 while ((qpos = strchr (q, ':')) != NULL
4544 && qpos < cp
4545 && qpos[1] == ':')
4546 q = qpos + 2;
4547 sp = q;
4548 }
4549 make_tag (sp, cp - sp, true,
4550 lb.buffer, cp - lb.buffer + 1, lineno, linecharno);
4551 }
4552 else if (class_qualify)
4541 /* Qualify it. */ 4553 /* Qualify it. */
4542 { 4554 {
4543 char savechar, *name; 4555 char savechar, *name;
@@ -4550,6 +4562,9 @@ Perl_functions (FILE *inf)
4550 lb.buffer, cp - lb.buffer + 1, lineno, linecharno); 4562 lb.buffer, cp - lb.buffer + 1, lineno, linecharno);
4551 free (name); 4563 free (name);
4552 } 4564 }
4565 else
4566 make_tag (sp, cp - sp, true,
4567 lb.buffer, cp - lb.buffer + 1, lineno, linecharno);
4553 } 4568 }
4554 else if (LOOKING_AT (cp, "use constant") 4569 else if (LOOKING_AT (cp, "use constant")
4555 || LOOKING_AT (cp, "use constant::defer")) 4570 || LOOKING_AT (cp, "use constant::defer"))
diff --git a/test/etags/CTAGS.good b/test/etags/CTAGS.good
index ebde715272a..19bc0bef657 100644
--- a/test/etags/CTAGS.good
+++ b/test/etags/CTAGS.good
@@ -305,8 +305,6 @@ BUFFER_OBJFWDP c-src/emacs/src/lisp.h /^BUFFER_OBJFWDP (union Lisp_Fwd *a)$/
305BYTE_MARK_STACK c-src/emacs/src/lisp.h 3181 305BYTE_MARK_STACK c-src/emacs/src/lisp.h 3181
306Bar lua-src/test.lua /^function Square.something:Bar ()$/ 306Bar lua-src/test.lua /^function Square.something:Bar ()$/
307Bar perl-src/kai-test.pl /^package Bar;$/ 307Bar perl-src/kai-test.pl /^package Bar;$/
308Bar::f4 perl-src/kai-test.pl /^sub Bar::f4 {$/
309Bar::f5 perl-src/kai-test.pl /^sub f5 {$/
310Barrier_Function_Pointer/t ada-src/etags-test-for.ada /^ type Barrier_Function_Pointer is access$/ 308Barrier_Function_Pointer/t ada-src/etags-test-for.ada /^ type Barrier_Function_Pointer is access$/
311Bidule/b ada-src/etags-test-for.ada /^ protected body Bidule is$/ 309Bidule/b ada-src/etags-test-for.ada /^ protected body Bidule is$/
312Bidule/b ada-src/waroquiers.ada /^ protected body Bidule is$/ 310Bidule/b ada-src/waroquiers.ada /^ protected body Bidule is$/
@@ -614,8 +612,6 @@ Finalize_TAS_Cell/p ada-src/2ataspri.ads /^ procedure Finalize_TAS_Cell (Cel
614First100Chars pas-src/common.pas /^procedure First100Chars; (*($/ 612First100Chars pas-src/common.pas /^procedure First100Chars; (*($/
615Foo perl-src/kai-test.pl /^package Foo;$/ 613Foo perl-src/kai-test.pl /^package Foo;$/
616Foo::Bar perl-src/kai-test.pl /^package Foo::Bar;$/ 614Foo::Bar perl-src/kai-test.pl /^package Foo::Bar;$/
617Foo::Bar::f6 perl-src/kai-test.pl /^sub f6 {$/
618Foo::f3 perl-src/kai-test.pl /^sub f3 {$/
619Forth_help c-src/etags.c 573 615Forth_help c-src/etags.c 573
620Forth_suffixes c-src/etags.c 571 616Forth_suffixes c-src/etags.c 571
621Forth_words c-src/etags.c /^Forth_words (FILE *inf)$/ 617Forth_words c-src/etags.c /^Forth_words (FILE *inf)$/
@@ -2931,7 +2927,14 @@ f cp-src/c.C /^ void f() {}$/
2931f cp-src/fail.C /^ int f() { return 5; }$/ 2927f cp-src/fail.C /^ int f() { return 5; }$/
2932f cp-src/fail.C /^int A::B::f() { return 2; }$/ 2928f cp-src/fail.C /^int A::B::f() { return 2; }$/
2933f1 c.c /^ f1 () { \/* Do something. *\/; }$/ 2929f1 c.c /^ f1 () { \/* Do something. *\/; }$/
2930f1 perl-src/kai-test.pl /^sub f1 {$/
2934f2 c.c /^void f2 () { \/* Do something. *\/; }$/ 2931f2 c.c /^void f2 () { \/* Do something. *\/; }$/
2932f2 perl-src/kai-test.pl /^sub main::f2 {$/
2933f3 perl-src/kai-test.pl /^sub f3 {$/
2934f4 perl-src/kai-test.pl /^sub Bar::f4 {$/
2935f5 perl-src/kai-test.pl /^sub f5 {$/
2936f6 perl-src/kai-test.pl /^sub f6 {$/
2937f7 perl-src/kai-test.pl /^sub f7 {$/
2935fast_string_match_ignore_case c-src/emacs/src/lisp.h /^fast_string_match_ignore_case (Lisp_Object regexp,/ 2938fast_string_match_ignore_case c-src/emacs/src/lisp.h /^fast_string_match_ignore_case (Lisp_Object regexp,/
2936fastctags make-src/Makefile /^fastctags:$/ 2939fastctags make-src/Makefile /^fastctags:$/
2937fastetags make-src/Makefile /^fastetags:$/ 2940fastetags make-src/Makefile /^fastetags:$/
@@ -2952,6 +2955,7 @@ fignore c-src/etags.c 2416
2952file-of-tag el-src/emacs/lisp/progmodes/etags.el /^(defun file-of-tag (&optional relative)$/ 2955file-of-tag el-src/emacs/lisp/progmodes/etags.el /^(defun file-of-tag (&optional relative)$/
2953file-of-tag-function el-src/emacs/lisp/progmodes/etags.el /^(defvar file-of-tag-function nil$/ 2956file-of-tag-function el-src/emacs/lisp/progmodes/etags.el /^(defvar file-of-tag-function nil$/
2954fileJoin php-src/lce_functions.php /^ function fileJoin()$/ 2957fileJoin php-src/lce_functions.php /^ function fileJoin()$/
2958file_end perl-src/htlmify-cystic /^sub file_end ()$/
2955file_index perl-src/htlmify-cystic 33 2959file_index perl-src/htlmify-cystic 33
2956file_tocs perl-src/htlmify-cystic 30 2960file_tocs perl-src/htlmify-cystic 30
2957filename_is_absolute c-src/etags.c /^filename_is_absolute (char *fn)$/ 2961filename_is_absolute c-src/etags.c /^filename_is_absolute (char *fn)$/
@@ -2978,6 +2982,10 @@ find-tag-tag-order el-src/emacs/lisp/progmodes/etags.el /^(defvar find-tag-tag-o
2978find_entries c-src/etags.c /^find_entries (FILE *inf)$/ 2982find_entries c-src/etags.c /^find_entries (FILE *inf)$/
2979find_user_signal_name c-src/emacs/src/keyboard.c /^find_user_signal_name (int sig)$/ 2983find_user_signal_name c-src/emacs/src/keyboard.c /^find_user_signal_name (int sig)$/
2980findcats prol-src/natded.prolog /^findcats([],Left,Left).$/ 2984findcats prol-src/natded.prolog /^findcats([],Left,Left).$/
2985finish_appendices perl-src/htlmify-cystic /^sub finish_appendices ()$/
2986finish_sections perl-src/htlmify-cystic /^sub finish_sections ()$/
2987finish_subsections perl-src/htlmify-cystic /^sub finish_subsections ()$/
2988finish_subsubsections perl-src/htlmify-cystic /^sub finish_subsubsections ()$/
2981finlist c-src/etags.c 2414 2989finlist c-src/etags.c 2414
2982first c-src/emacs/src/gmalloc.c 151 2990first c-src/emacs/src/gmalloc.c 151
2983fitchtreelist prol-src/natded.prolog /^fitchtreelist([]).$/ 2991fitchtreelist prol-src/natded.prolog /^fitchtreelist([]).$/
@@ -3085,6 +3093,7 @@ get_layer_by_name lua-src/allegro.lua /^local function get_layer_by_name (sprite
3085get_tag c-src/etags.c /^get_tag (register char *bp, char **namepp)$/ 3093get_tag c-src/etags.c /^get_tag (register char *bp, char **namepp)$/
3086get_word c-src/tab.c /^static char *get_word(char **str, char delim)$/ 3094get_word c-src/tab.c /^static char *get_word(char **str, char delim)$/
3087getcjmp c-src/emacs/src/keyboard.c 147 3095getcjmp c-src/emacs/src/keyboard.c 147
3096getopt perl-src/yagrip.pl /^sub getopt {$/
3088getopt.o make-src/Makefile /^getopt.o: emacs\/lib-src\/getopt.c$/ 3097getopt.o make-src/Makefile /^getopt.o: emacs\/lib-src\/getopt.c$/
3089getopt1.o make-src/Makefile /^getopt1.o: emacs\/lib-src\/getopt1.c$/ 3098getopt1.o make-src/Makefile /^getopt1.o: emacs\/lib-src\/getopt1.c$/
3090getptys objc-src/Subprocess.m /^getptys (int *master, int *slave)$/ 3099getptys objc-src/Subprocess.m /^getptys (int *master, int *slave)$/
@@ -3419,23 +3428,6 @@ mach_reply_port c-src/machsyscalls.h /^SYSCALL (mach_reply_port, -26,$/
3419mach_task_self c-src/machsyscalls.h /^SYSCALL (mach_task_self, -28,$/ 3428mach_task_self c-src/machsyscalls.h /^SYSCALL (mach_task_self, -28,$/
3420mach_thread_self c-src/machsyscalls.h /^SYSCALL (mach_thread_self, -27,$/ 3429mach_thread_self c-src/machsyscalls.h /^SYSCALL (mach_thread_self, -27,$/
3421magic c-src/emacs/src/gmalloc.c 1863 3430magic c-src/emacs/src/gmalloc.c 1863
3422main::f1 perl-src/kai-test.pl /^sub f1 {$/
3423main::f2 perl-src/kai-test.pl /^sub main::f2 {$/
3424main::f7 perl-src/kai-test.pl /^sub f7 {$/
3425main::file_end perl-src/htlmify-cystic /^sub file_end ()$/
3426main::finish_appendices perl-src/htlmify-cystic /^sub finish_appendices ()$/
3427main::finish_sections perl-src/htlmify-cystic /^sub finish_sections ()$/
3428main::finish_subsections perl-src/htlmify-cystic /^sub finish_subsections ()$/
3429main::finish_subsubsections perl-src/htlmify-cystic /^sub finish_subsubsections ()$/
3430main::getopt perl-src/yagrip.pl /^sub getopt {$/
3431main::read_toc perl-src/htlmify-cystic /^sub read_toc ()$/
3432main::section_href perl-src/htlmify-cystic /^sub section_href ($)$/
3433main::section_name perl-src/htlmify-cystic /^sub section_name ($)$/
3434main::section_url perl-src/htlmify-cystic /^sub section_url ()$/
3435main::section_url_base perl-src/htlmify-cystic /^sub section_url_base ()$/
3436main::section_url_name perl-src/htlmify-cystic /^sub section_url_name ()$/
3437main::toc_line perl-src/htlmify-cystic /^sub toc_line ($)$/
3438main::usage perl-src/yagrip.pl /^sub usage {$/
3439maintaining.info make-src/Makefile /^maintaining.info: maintaining.texi$/ 3431maintaining.info make-src/Makefile /^maintaining.info: maintaining.texi$/
3440make-abbrev-table c-src/abbrev.c /^DEFUN ("make-abbrev-table", Fmake_abbrev_table, Sm/ 3432make-abbrev-table c-src/abbrev.c /^DEFUN ("make-abbrev-table", Fmake_abbrev_table, Sm/
3441make_C_tag c-src/etags.c /^make_C_tag (bool isfun)$/ 3433make_C_tag c-src/etags.c /^make_C_tag (bool isfun)$/
@@ -3922,6 +3914,7 @@ read_key_sequence_cmd c-src/emacs/src/keyboard.c 232
3922read_key_sequence_remapped c-src/emacs/src/keyboard.c 233 3914read_key_sequence_remapped c-src/emacs/src/keyboard.c 233
3923read_key_sequence_vs c-src/emacs/src/keyboard.c /^read_key_sequence_vs (Lisp_Object prompt, Lisp_Obj/ 3915read_key_sequence_vs c-src/emacs/src/keyboard.c /^read_key_sequence_vs (Lisp_Object prompt, Lisp_Obj/
3924read_menu_command c-src/emacs/src/keyboard.c /^read_menu_command (void)$/ 3916read_menu_command c-src/emacs/src/keyboard.c /^read_menu_command (void)$/
3917read_toc perl-src/htlmify-cystic /^sub read_toc ()$/
3925readable_events c-src/emacs/src/keyboard.c /^readable_events (int flags)$/ 3918readable_events c-src/emacs/src/keyboard.c /^readable_events (int flags)$/
3926readline c-src/etags.c /^readline (linebuffer *lbp, FILE *stream)$/ 3919readline c-src/etags.c /^readline (linebuffer *lbp, FILE *stream)$/
3927readline_internal c-src/etags.c /^readline_internal (linebuffer *lbp, register FILE / 3920readline_internal c-src/etags.c /^readline_internal (linebuffer *lbp, register FILE /
@@ -4027,8 +4020,13 @@ scroll_bar_parts c-src/emacs/src/keyboard.c 5189
4027sec=\relax tex-src/texinfo.tex /^\\let\\appendixsec=\\relax$/ 4020sec=\relax tex-src/texinfo.tex /^\\let\\appendixsec=\\relax$/
4028section perl-src/htlmify-cystic 25 4021section perl-src/htlmify-cystic 25
4029section=\relax tex-src/texinfo.tex /^\\let\\appendixsection=\\relax$/ 4022section=\relax tex-src/texinfo.tex /^\\let\\appendixsection=\\relax$/
4023section_href perl-src/htlmify-cystic /^sub section_href ($)$/
4030section_name perl-src/htlmify-cystic 12 4024section_name perl-src/htlmify-cystic 12
4025section_name perl-src/htlmify-cystic /^sub section_name ($)$/
4031section_toc perl-src/htlmify-cystic 15 4026section_toc perl-src/htlmify-cystic 15
4027section_url perl-src/htlmify-cystic /^sub section_url ()$/
4028section_url_base perl-src/htlmify-cystic /^sub section_url_base ()$/
4029section_url_name perl-src/htlmify-cystic /^sub section_url_name ()$/
4032select prol-src/natded.prolog /^select(X,[X|Xs],Xs).$/ 4030select prol-src/natded.prolog /^select(X,[X|Xs],Xs).$/
4033select-tags-table el-src/emacs/lisp/progmodes/etags.el /^(defun select-tags-table ()$/ 4031select-tags-table el-src/emacs/lisp/progmodes/etags.el /^(defun select-tags-table ()$/
4034select-tags-table-mode el-src/emacs/lisp/progmodes/etags.el /^(define-derived-mode select-tags-table-mode specia/ 4032select-tags-table-mode el-src/emacs/lisp/progmodes/etags.el /^(define-derived-mode select-tags-table-mode specia/
@@ -4324,6 +4322,7 @@ timers_run c-src/emacs/src/keyboard.c 320
4324tinbody c-src/etags.c 2431 4322tinbody c-src/etags.c 2431
4325tkeyseen c-src/etags.c 2429 4323tkeyseen c-src/etags.c 2429
4326tnone c-src/etags.c 2428 4324tnone c-src/etags.c 2428
4325toc_line perl-src/htlmify-cystic /^sub toc_line ($)$/
4327toggleDescription objc-src/PackInsp.m /^-toggleDescription$/ 4326toggleDescription objc-src/PackInsp.m /^-toggleDescription$/
4328tok c-src/etags.c 2491 4327tok c-src/etags.c 2491
4329token c-src/etags.c 2508 4328token c-src/etags.c 2508
@@ -4396,6 +4395,7 @@ unsignedp cccp.y 113
4396unsignedp y-src/cccp.y 112 4395unsignedp y-src/cccp.y 112
4397uprintmax_t c-src/emacs/src/lisp.h 149 4396uprintmax_t c-src/emacs/src/lisp.h 149
4398uprintmax_t c-src/emacs/src/lisp.h 154 4397uprintmax_t c-src/emacs/src/lisp.h 154
4398usage perl-src/yagrip.pl /^sub usage {$/
4399usecharno c-src/etags.c 210 4399usecharno c-src/etags.c 210
4400used c-src/emacs/src/regex.h 347 4400used c-src/emacs/src/regex.h 347
4401used_syntax c-src/emacs/src/regex.h 398 4401used_syntax c-src/emacs/src/regex.h 398
diff --git a/test/etags/ETAGS.good_1 b/test/etags/ETAGS.good_1
index d2550863428..58661bbf600 100644
--- a/test/etags/ETAGS.good_1
+++ b/test/etags/ETAGS.good_1
@@ -2665,7 +2665,7 @@ define("TEST"TEST1,0
2665test 4,26 2665test 4,26
2666foo(16,200 2666foo(16,200
2667 2667
2668perl-src/htlmify-cystic,1443 2668perl-src/htlmify-cystic,1197
2669my @section_name;section_name12,236 2669my @section_name;section_name12,236
2670my @appendix_name;appendix_name13,254 2670my @appendix_name;appendix_name13,254
2671my @section_toc;section_toc15,274 2671my @section_toc;section_toc15,274
@@ -2683,7 +2683,7 @@ my $output_file;output_file35,556
2683my $line;line37,574 2683my $line;line37,574
2684my $subsection_marker;subsection_marker161,3883 2684my $subsection_marker;subsection_marker161,3883
2685my $new;new163,3907 2685my $new;new163,3907
2686sub read_toc main::read_toc165,3917 2686sub read_toc 165,3917
2687 my $entry entry218,5621 2687 my $entry entry218,5621
2688 my $entry entry234,6077 2688 my $entry entry234,6077
2689 my $entry entry245,6351 2689 my $entry entry245,6351
@@ -2692,38 +2692,38 @@ sub read_toc main::read_toc165,3917
2692 my $entry entry276,7204 2692 my $entry entry276,7204
2693 my $entry entry281,7328 2693 my $entry entry281,7328
2694 my $entry entry296,7698 2694 my $entry entry296,7698
2695sub finish_subsubsections main::finish_subsubsections302,7805 2695sub finish_subsubsections 302,7805
2696sub finish_subsections main::finish_subsections309,7987 2696sub finish_subsections 309,7987
2697sub finish_sections main::finish_sections320,8310 2697sub finish_sections 320,8310
2698sub finish_appendices main::finish_appendices331,8599 2698sub finish_appendices 331,8599
2699sub section_url_base main::section_url_base337,8724 2699sub section_url_base 337,8724
2700sub section_url_name main::section_url_name342,8922 2700sub section_url_name 342,8922
2701sub section_url main::section_url355,9284 2701sub section_url 355,9284
2702 my $name name357,9336 2702 my $name name357,9336
2703sub section_href main::section_href364,9452 2703sub section_href 364,9452
2704sub section_name main::section_name368,9551 2704sub section_name 368,9551
2705sub toc_line main::toc_line372,9655 2705sub toc_line 372,9655
2706sub file_end main::file_end375,9750 2706sub file_end 375,9750
2707 2707
2708perl-src/yagrip.pl,258 2708perl-src/yagrip.pl,233
2709sub getopt main::getopt7,156 2709sub getopt 7,156
2710 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 2710 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
2711sub usage main::usage38,856 2711sub usage 38,856
2712 local($prog,$_,@list)($prog,$_,@list39,868 2712 local($prog,$_,@list)($prog,$_,@list39,868
2713 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 2713 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
2714 2714
2715perl-src/kai-test.pl,244 2715perl-src/kai-test.pl,203
2716sub f1 main::f12,16 2716sub f1 2,16
2717sub main::f2 6,50 2717sub main::f2 f26,50
2718package Foo;10,90 2718package Foo;10,90
2719sub f3 Foo::f312,104 2719sub f3 12,104
2720sub Bar::f4 16,138 2720sub Bar::f4 f416,138
2721package Bar;20,177 2721package Bar;20,177
2722sub f5 Bar::f522,191 2722sub f5 22,191
2723package Foo::Bar;26,225 2723package Foo::Bar;26,225
2724sub f6 Foo::Bar::f628,244 2724sub f6 28,244
2725package main;32,278 2725package main;32,278
2726sub f7 main::f734,293 2726sub f7 34,293
2727 2727
2728ps-src/rfc1245.ps,2478 2728ps-src/rfc1245.ps,2478
2729/FMversion 12,311 2729/FMversion 12,311
diff --git a/test/etags/ETAGS.good_2 b/test/etags/ETAGS.good_2
index 9eb1d4297c8..ecfa7d19885 100644
--- a/test/etags/ETAGS.good_2
+++ b/test/etags/ETAGS.good_2
@@ -3235,7 +3235,7 @@ define("TEST"TEST1,0
3235test 4,26 3235test 4,26
3236foo(16,200 3236foo(16,200
3237 3237
3238perl-src/htlmify-cystic,1443 3238perl-src/htlmify-cystic,1197
3239my @section_name;section_name12,236 3239my @section_name;section_name12,236
3240my @appendix_name;appendix_name13,254 3240my @appendix_name;appendix_name13,254
3241my @section_toc;section_toc15,274 3241my @section_toc;section_toc15,274
@@ -3253,7 +3253,7 @@ my $output_file;output_file35,556
3253my $line;line37,574 3253my $line;line37,574
3254my $subsection_marker;subsection_marker161,3883 3254my $subsection_marker;subsection_marker161,3883
3255my $new;new163,3907 3255my $new;new163,3907
3256sub read_toc main::read_toc165,3917 3256sub read_toc 165,3917
3257 my $entry entry218,5621 3257 my $entry entry218,5621
3258 my $entry entry234,6077 3258 my $entry entry234,6077
3259 my $entry entry245,6351 3259 my $entry entry245,6351
@@ -3262,38 +3262,38 @@ sub read_toc main::read_toc165,3917
3262 my $entry entry276,7204 3262 my $entry entry276,7204
3263 my $entry entry281,7328 3263 my $entry entry281,7328
3264 my $entry entry296,7698 3264 my $entry entry296,7698
3265sub finish_subsubsections main::finish_subsubsections302,7805 3265sub finish_subsubsections 302,7805
3266sub finish_subsections main::finish_subsections309,7987 3266sub finish_subsections 309,7987
3267sub finish_sections main::finish_sections320,8310 3267sub finish_sections 320,8310
3268sub finish_appendices main::finish_appendices331,8599 3268sub finish_appendices 331,8599
3269sub section_url_base main::section_url_base337,8724 3269sub section_url_base 337,8724
3270sub section_url_name main::section_url_name342,8922 3270sub section_url_name 342,8922
3271sub section_url main::section_url355,9284 3271sub section_url 355,9284
3272 my $name name357,9336 3272 my $name name357,9336
3273sub section_href main::section_href364,9452 3273sub section_href 364,9452
3274sub section_name main::section_name368,9551 3274sub section_name 368,9551
3275sub toc_line main::toc_line372,9655 3275sub toc_line 372,9655
3276sub file_end main::file_end375,9750 3276sub file_end 375,9750
3277 3277
3278perl-src/yagrip.pl,258 3278perl-src/yagrip.pl,233
3279sub getopt main::getopt7,156 3279sub getopt 7,156
3280 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 3280 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
3281sub usage main::usage38,856 3281sub usage 38,856
3282 local($prog,$_,@list)($prog,$_,@list39,868 3282 local($prog,$_,@list)($prog,$_,@list39,868
3283 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 3283 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
3284 3284
3285perl-src/kai-test.pl,244 3285perl-src/kai-test.pl,203
3286sub f1 main::f12,16 3286sub f1 2,16
3287sub main::f2 6,50 3287sub main::f2 f26,50
3288package Foo;10,90 3288package Foo;10,90
3289sub f3 Foo::f312,104 3289sub f3 12,104
3290sub Bar::f4 16,138 3290sub Bar::f4 f416,138
3291package Bar;20,177 3291package Bar;20,177
3292sub f5 Bar::f522,191 3292sub f5 22,191
3293package Foo::Bar;26,225 3293package Foo::Bar;26,225
3294sub f6 Foo::Bar::f628,244 3294sub f6 28,244
3295package main;32,278 3295package main;32,278
3296sub f7 main::f734,293 3296sub f7 34,293
3297 3297
3298ps-src/rfc1245.ps,2478 3298ps-src/rfc1245.ps,2478
3299/FMversion 12,311 3299/FMversion 12,311
diff --git a/test/etags/ETAGS.good_3 b/test/etags/ETAGS.good_3
index 1f5a34272e3..5f84aa9a0c6 100644
--- a/test/etags/ETAGS.good_3
+++ b/test/etags/ETAGS.good_3
@@ -3012,7 +3012,7 @@ test 4,26
3012 var $test12,176 3012 var $test12,176
3013foo(16,200 3013foo(16,200
3014 3014
3015perl-src/htlmify-cystic,1443 3015perl-src/htlmify-cystic,1197
3016my @section_name;section_name12,236 3016my @section_name;section_name12,236
3017my @appendix_name;appendix_name13,254 3017my @appendix_name;appendix_name13,254
3018my @section_toc;section_toc15,274 3018my @section_toc;section_toc15,274
@@ -3030,7 +3030,7 @@ my $output_file;output_file35,556
3030my $line;line37,574 3030my $line;line37,574
3031my $subsection_marker;subsection_marker161,3883 3031my $subsection_marker;subsection_marker161,3883
3032my $new;new163,3907 3032my $new;new163,3907
3033sub read_toc main::read_toc165,3917 3033sub read_toc 165,3917
3034 my $entry entry218,5621 3034 my $entry entry218,5621
3035 my $entry entry234,6077 3035 my $entry entry234,6077
3036 my $entry entry245,6351 3036 my $entry entry245,6351
@@ -3039,38 +3039,38 @@ sub read_toc main::read_toc165,3917
3039 my $entry entry276,7204 3039 my $entry entry276,7204
3040 my $entry entry281,7328 3040 my $entry entry281,7328
3041 my $entry entry296,7698 3041 my $entry entry296,7698
3042sub finish_subsubsections main::finish_subsubsections302,7805 3042sub finish_subsubsections 302,7805
3043sub finish_subsections main::finish_subsections309,7987 3043sub finish_subsections 309,7987
3044sub finish_sections main::finish_sections320,8310 3044sub finish_sections 320,8310
3045sub finish_appendices main::finish_appendices331,8599 3045sub finish_appendices 331,8599
3046sub section_url_base main::section_url_base337,8724 3046sub section_url_base 337,8724
3047sub section_url_name main::section_url_name342,8922 3047sub section_url_name 342,8922
3048sub section_url main::section_url355,9284 3048sub section_url 355,9284
3049 my $name name357,9336 3049 my $name name357,9336
3050sub section_href main::section_href364,9452 3050sub section_href 364,9452
3051sub section_name main::section_name368,9551 3051sub section_name 368,9551
3052sub toc_line main::toc_line372,9655 3052sub toc_line 372,9655
3053sub file_end main::file_end375,9750 3053sub file_end 375,9750
3054 3054
3055perl-src/yagrip.pl,258 3055perl-src/yagrip.pl,233
3056sub getopt main::getopt7,156 3056sub getopt 7,156
3057 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 3057 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
3058sub usage main::usage38,856 3058sub usage 38,856
3059 local($prog,$_,@list)($prog,$_,@list39,868 3059 local($prog,$_,@list)($prog,$_,@list39,868
3060 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 3060 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
3061 3061
3062perl-src/kai-test.pl,244 3062perl-src/kai-test.pl,203
3063sub f1 main::f12,16 3063sub f1 2,16
3064sub main::f2 6,50 3064sub main::f2 f26,50
3065package Foo;10,90 3065package Foo;10,90
3066sub f3 Foo::f312,104 3066sub f3 12,104
3067sub Bar::f4 16,138 3067sub Bar::f4 f416,138
3068package Bar;20,177 3068package Bar;20,177
3069sub f5 Bar::f522,191 3069sub f5 22,191
3070package Foo::Bar;26,225 3070package Foo::Bar;26,225
3071sub f6 Foo::Bar::f628,244 3071sub f6 28,244
3072package main;32,278 3072package main;32,278
3073sub f7 main::f734,293 3073sub f7 34,293
3074 3074
3075ps-src/rfc1245.ps,2478 3075ps-src/rfc1245.ps,2478
3076/FMversion 12,311 3076/FMversion 12,311
diff --git a/test/etags/ETAGS.good_4 b/test/etags/ETAGS.good_4
index b8a3d9de6db..12e2a6549cf 100644
--- a/test/etags/ETAGS.good_4
+++ b/test/etags/ETAGS.good_4
@@ -2829,7 +2829,7 @@ define("TEST"TEST1,0
2829test 4,26 2829test 4,26
2830foo(16,200 2830foo(16,200
2831 2831
2832perl-src/htlmify-cystic,1443 2832perl-src/htlmify-cystic,1197
2833my @section_name;section_name12,236 2833my @section_name;section_name12,236
2834my @appendix_name;appendix_name13,254 2834my @appendix_name;appendix_name13,254
2835my @section_toc;section_toc15,274 2835my @section_toc;section_toc15,274
@@ -2847,7 +2847,7 @@ my $output_file;output_file35,556
2847my $line;line37,574 2847my $line;line37,574
2848my $subsection_marker;subsection_marker161,3883 2848my $subsection_marker;subsection_marker161,3883
2849my $new;new163,3907 2849my $new;new163,3907
2850sub read_toc main::read_toc165,3917 2850sub read_toc 165,3917
2851 my $entry entry218,5621 2851 my $entry entry218,5621
2852 my $entry entry234,6077 2852 my $entry entry234,6077
2853 my $entry entry245,6351 2853 my $entry entry245,6351
@@ -2856,38 +2856,38 @@ sub read_toc main::read_toc165,3917
2856 my $entry entry276,7204 2856 my $entry entry276,7204
2857 my $entry entry281,7328 2857 my $entry entry281,7328
2858 my $entry entry296,7698 2858 my $entry entry296,7698
2859sub finish_subsubsections main::finish_subsubsections302,7805 2859sub finish_subsubsections 302,7805
2860sub finish_subsections main::finish_subsections309,7987 2860sub finish_subsections 309,7987
2861sub finish_sections main::finish_sections320,8310 2861sub finish_sections 320,8310
2862sub finish_appendices main::finish_appendices331,8599 2862sub finish_appendices 331,8599
2863sub section_url_base main::section_url_base337,8724 2863sub section_url_base 337,8724
2864sub section_url_name main::section_url_name342,8922 2864sub section_url_name 342,8922
2865sub section_url main::section_url355,9284 2865sub section_url 355,9284
2866 my $name name357,9336 2866 my $name name357,9336
2867sub section_href main::section_href364,9452 2867sub section_href 364,9452
2868sub section_name main::section_name368,9551 2868sub section_name 368,9551
2869sub toc_line main::toc_line372,9655 2869sub toc_line 372,9655
2870sub file_end main::file_end375,9750 2870sub file_end 375,9750
2871 2871
2872perl-src/yagrip.pl,258 2872perl-src/yagrip.pl,233
2873sub getopt main::getopt7,156 2873sub getopt 7,156
2874 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 2874 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
2875sub usage main::usage38,856 2875sub usage 38,856
2876 local($prog,$_,@list)($prog,$_,@list39,868 2876 local($prog,$_,@list)($prog,$_,@list39,868
2877 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 2877 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
2878 2878
2879perl-src/kai-test.pl,244 2879perl-src/kai-test.pl,203
2880sub f1 main::f12,16 2880sub f1 2,16
2881sub main::f2 6,50 2881sub main::f2 f26,50
2882package Foo;10,90 2882package Foo;10,90
2883sub f3 Foo::f312,104 2883sub f3 12,104
2884sub Bar::f4 16,138 2884sub Bar::f4 f416,138
2885package Bar;20,177 2885package Bar;20,177
2886sub f5 Bar::f522,191 2886sub f5 22,191
2887package Foo::Bar;26,225 2887package Foo::Bar;26,225
2888sub f6 Foo::Bar::f628,244 2888sub f6 28,244
2889package main;32,278 2889package main;32,278
2890sub f7 main::f734,293 2890sub f7 34,293
2891 2891
2892ps-src/rfc1245.ps,2478 2892ps-src/rfc1245.ps,2478
2893/FMversion 12,311 2893/FMversion 12,311
diff --git a/test/etags/ETAGS.good_5 b/test/etags/ETAGS.good_5
index 9e3b258eabc..98de4f2c2fb 100644
--- a/test/etags/ETAGS.good_5
+++ b/test/etags/ETAGS.good_5
@@ -3746,7 +3746,7 @@ test 4,26
3746 var $test12,176 3746 var $test12,176
3747foo(16,200 3747foo(16,200
3748 3748
3749perl-src/htlmify-cystic,1443 3749perl-src/htlmify-cystic,1197
3750my @section_name;section_name12,236 3750my @section_name;section_name12,236
3751my @appendix_name;appendix_name13,254 3751my @appendix_name;appendix_name13,254
3752my @section_toc;section_toc15,274 3752my @section_toc;section_toc15,274
@@ -3764,7 +3764,7 @@ my $output_file;output_file35,556
3764my $line;line37,574 3764my $line;line37,574
3765my $subsection_marker;subsection_marker161,3883 3765my $subsection_marker;subsection_marker161,3883
3766my $new;new163,3907 3766my $new;new163,3907
3767sub read_toc main::read_toc165,3917 3767sub read_toc 165,3917
3768 my $entry entry218,5621 3768 my $entry entry218,5621
3769 my $entry entry234,6077 3769 my $entry entry234,6077
3770 my $entry entry245,6351 3770 my $entry entry245,6351
@@ -3773,38 +3773,38 @@ sub read_toc main::read_toc165,3917
3773 my $entry entry276,7204 3773 my $entry entry276,7204
3774 my $entry entry281,7328 3774 my $entry entry281,7328
3775 my $entry entry296,7698 3775 my $entry entry296,7698
3776sub finish_subsubsections main::finish_subsubsections302,7805 3776sub finish_subsubsections 302,7805
3777sub finish_subsections main::finish_subsections309,7987 3777sub finish_subsections 309,7987
3778sub finish_sections main::finish_sections320,8310 3778sub finish_sections 320,8310
3779sub finish_appendices main::finish_appendices331,8599 3779sub finish_appendices 331,8599
3780sub section_url_base main::section_url_base337,8724 3780sub section_url_base 337,8724
3781sub section_url_name main::section_url_name342,8922 3781sub section_url_name 342,8922
3782sub section_url main::section_url355,9284 3782sub section_url 355,9284
3783 my $name name357,9336 3783 my $name name357,9336
3784sub section_href main::section_href364,9452 3784sub section_href 364,9452
3785sub section_name main::section_name368,9551 3785sub section_name 368,9551
3786sub toc_line main::toc_line372,9655 3786sub toc_line 372,9655
3787sub file_end main::file_end375,9750 3787sub file_end 375,9750
3788 3788
3789perl-src/yagrip.pl,258 3789perl-src/yagrip.pl,233
3790sub getopt main::getopt7,156 3790sub getopt 7,156
3791 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169 3791 local($_,$flag,$opt,$f,$r,@temp)($_,$flag,$opt,$f,$r,@temp8,169
3792sub usage main::usage38,856 3792sub usage 38,856
3793 local($prog,$_,@list)($prog,$_,@list39,868 3793 local($prog,$_,@list)($prog,$_,@list39,868
3794 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897 3794 local($string,$flag,@string,@temp,@last)($string,$flag,@string,@temp,@last40,897
3795 3795
3796perl-src/kai-test.pl,244 3796perl-src/kai-test.pl,203
3797sub f1 main::f12,16 3797sub f1 2,16
3798sub main::f2 6,50 3798sub main::f2 f26,50
3799package Foo;10,90 3799package Foo;10,90
3800sub f3 Foo::f312,104 3800sub f3 12,104
3801sub Bar::f4 16,138 3801sub Bar::f4 f416,138
3802package Bar;20,177 3802package Bar;20,177
3803sub f5 Bar::f522,191 3803sub f5 22,191
3804package Foo::Bar;26,225 3804package Foo::Bar;26,225
3805sub f6 Foo::Bar::f628,244 3805sub f6 28,244
3806package main;32,278 3806package main;32,278
3807sub f7 main::f734,293 3807sub f7 34,293
3808 3808
3809ps-src/rfc1245.ps,2478 3809ps-src/rfc1245.ps,2478
3810/FMversion 12,311 3810/FMversion 12,311