This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make &foo respect our sub
authorFather Chrysostomos <sprout@cpan.org>
Mon, 2 Jul 2012 05:53:41 +0000 (22:53 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 16 Sep 2012 05:44:53 +0000 (22:44 -0700)
commitc07656ed340bbe7027cae47dc3a85a51910f9d07
treede1da4f0fc074f94f9dd87372d258dc3618b1c80
parent764212cf73683dc2fdc86061a1e2cf4193b89919
Make &foo respect our sub

This changes &foo to go through S_pending_ident (by setting
PL_pending_ident, which causes yylex to defer to S_pending_ident for
the next token) the way $foo and %foo do.

This necessitated reducing the maximum identifier length of &foo from
252 to 251, making it match @foo, $foo, etc.  So somebody‚Äôs JAPH might
break. :-)
MANIFEST
t/cmd/lexsub.t [new file with mode: 0644]
t/comp/parser.t
toke.c