This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
FEATURE_IS_ENABLED takes only one parameter now, so reflect that in
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 4 Apr 2006 12:42:44 +0000 (12:42 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 4 Apr 2006 12:42:44 +0000 (12:42 +0000)
perl_keyword.pl

p4raw-id: //depot/perl@27713

perl_keyword.pl

index 9312f47..5806728 100644 (file)
@@ -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;