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 9922e66883a5..71ada0073805 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
| @@ -2587,7 +2587,7 @@ $kernelversion = get_kernel_version(); | |||
| 2587 | 2587 | ||
| 2588 | # generate a sequence of code that will splice in highlighting information | 2588 | # generate a sequence of code that will splice in highlighting information |
| 2589 | # using the s// operator. | 2589 | # using the s// operator. |
| 2590 | foreach my $pattern (keys %highlights) { | 2590 | foreach my $pattern (sort keys %highlights) { |
| 2591 | # print STDERR "scanning pattern:$pattern, highlight:($highlights{$pattern})\n"; | 2591 | # print STDERR "scanning pattern:$pattern, highlight:($highlights{$pattern})\n"; |
| 2592 | $dohighlight .= "\$contents =~ s:$pattern:$highlights{$pattern}:gs;\n"; | 2592 | $dohighlight .= "\$contents =~ s:$pattern:$highlights{$pattern}:gs;\n"; |
| 2593 | } | 2593 | } |
