We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58a9596 commit b4e3633Copy full SHA for b4e3633
src/tools/check_keywords.pl
@@ -16,7 +16,6 @@
16
$path = ".";
17
}
18
19
-$[ = 1; # set array base to 1
20
$, = ' '; # set output field separator
21
$\ = "\n"; # set output record separator
22
@@ -60,7 +59,7 @@
60
59
$n = (@arr = split(' ', $S));
61
62
# Ok, we're in a keyword list. Go through each field in turn
63
- for (my $fieldIndexer = 1; $fieldIndexer <= $n; $fieldIndexer++) {
+ for (my $fieldIndexer = 0; $fieldIndexer < $n; $fieldIndexer++) {
64
if ($arr[$fieldIndexer] eq '*/' && $comment) {
65
$comment = 0;
66
next;
0 commit comments