summaryrefslogtreecommitdiff
path: root/perl_keyword.pl
diff options
context:
space:
mode:
Diffstat (limited to 'perl_keyword.pl')
-rw-r--r--perl_keyword.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl_keyword.pl b/perl_keyword.pl
index 9312f47c54..5806728c30 100644
--- a/perl_keyword.pl
+++ b/perl_keyword.pl
@@ -86,10 +86,9 @@ if(ckWARN_d(WARN_SYNTAX))
END
}
elsif (my $feature = $feature_kw{$k}) {
- my $feature_len = length($feature);
$feature =~ s/([\\"])/\\$1/g;
return <<END;
-return (FEATURE_IS_ENABLED("$feature", $feature_len) ? ${sign}KEY_$k : 0);
+return (FEATURE_IS_ENABLED("$feature") ? ${sign}KEY_$k : 0);
END
}
return <<END;