diff options
Diffstat (limited to 'scripts/kernel-doc')
-rwxr-xr-x | scripts/kernel-doc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 125b906cd1d4..638a38e1b419 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
@@ -2711,7 +2711,7 @@ $kernelversion = get_kernel_version(); | |||
2711 | 2711 | ||
2712 | # generate a sequence of code that will splice in highlighting information | 2712 | # generate a sequence of code that will splice in highlighting information |
2713 | # using the s// operator. | 2713 | # using the s// operator. |
2714 | foreach my $k (keys @highlights) { | 2714 | for (my $k = 0; $k < @highlights; $k++) { |
2715 | my $pattern = $highlights[$k][0]; | 2715 | my $pattern = $highlights[$k][0]; |
2716 | my $result = $highlights[$k][1]; | 2716 | my $result = $highlights[$k][1]; |
2717 | # print STDERR "scanning pattern:$pattern, highlight:($result)\n"; | 2717 | # print STDERR "scanning pattern:$pattern, highlight:($result)\n"; |