From: Fred Drake Date: Thu, 4 Mar 1999 18:41:17 +0000 (+0000) Subject: add_module_idx(): If \ignorePlatformAnnotation is used, only ignore X-Git-Tag: v1.5.2c1~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62cc360e3811cae8647ae3c663a8605271c4a9dc;p=thirdparty%2FPython%2Fcpython.git add_module_idx(): If \ignorePlatformAnnotation is used, only ignore the specified annotation, not any annotation. --- diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index bc2e3180329d..e247c1b47503 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -284,7 +284,7 @@ sub add_module_idx{ $key =~ s/([a-zA-Z0-9._]*)<\/tt>/\1/; my $plat = "$ModulePlatforms{$key}"; $plat = '' - if $IGNORE_PLATFORM_ANNOTATION; + if ($plat eq $IGNORE_PLATFORM_ANNOTATION); if (!$first) { $allthesame = 0 if ($prevplat ne $plat);