]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
add_module_idx(): If \ignorePlatformAnnotation is used, only ignore
authorFred Drake <fdrake@acm.org>
Thu, 4 Mar 1999 18:41:17 +0000 (18:41 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 4 Mar 1999 18:41:17 +0000 (18:41 +0000)
   the specified annotation, not any annotation.

Doc/perl/l2hinit.perl

index bc2e3180329d26badd59dc34332b70674de3aacb..e247c1b475033c293adff0896603223b56dcc6b3 100644 (file)
@@ -284,7 +284,7 @@ sub add_module_idx{
        $key =~ s/<tt>([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);