[Python-checkins] python/dist/src/Doc/tools node2label.pl,1.12,1.12.18.1

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
2002年10月18日 07:38:27 -0700


Update of /cvsroot/python/python/dist/src/Doc/tools
In directory usw-pr-cvs1:/tmp/cvs-serv2818
Modified Files:
 Tag: release22-maint
	node2label.pl 
Log Message:
Backport Neal Norwitz's patch from revision 1.14:
Don't screw up the names of the nodes we're looking up.
This fixes two SF bugs:
217195 - Broken \ref link in documentation
484967 - bad links at Ref Guide
Index: node2label.pl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/node2label.pl,v
retrieving revision 1.12
retrieving revision 1.12.18.1
diff -C2 -d -r1.12 -r1.12.18.1
*** node2label.pl	23 Jun 2001 04:35:09 -0000	1.12
--- node2label.pl	18 Oct 2002 14:38:25 -0000	1.12.18.1
***************
*** 45,49 ****
 for $node (@parts) {
 $node =~ s/[\#\"\'].*$//g;
! chop($node);
 if (defined($nodes{$node})) {
 	$label = $nodes{$node};
--- 45,49 ----
 for $node (@parts) {
 $node =~ s/[\#\"\'].*$//g;
! chomp($node);
 if (defined($nodes{$node})) {
 	$label = $nodes{$node};

AltStyle によって変換されたページ (->オリジナル) /