This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
prototype() wasn't working to get the prototype of optional core
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 20 Sep 2006 15:22:22 +0000 (15:22 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 20 Sep 2006 15:22:22 +0000 (15:22 +0000)
commit5458a98a294861b5056e599fe9e1cbe7c1f7b678
treee932c1ea2c55b975f3988796370bff692aab5897
parent564914cd4f6b4bf8bd455752588c80fe2e116eb0
prototype() wasn't working to get the prototype of optional core
keywords (like say, err, given.) Fix this by adding a parameter to
Perl_keyword to always get the keyword number, even if the feature
isn't in effect.

p4raw-id: //depot/perl@28874
embed.fnc
embed.h
perl_keyword.pl
pp.c
proto.h
t/op/cproto.t
toke.c