This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_goto: Call get-magic before choosing goto type
authorFather Chrysostomos <sprout@cpan.org>
Thu, 29 Nov 2012 06:42:57 +0000 (22:42 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 6 Dec 2012 05:31:40 +0000 (21:31 -0800)
commit55b37f1c313121c8cbb341aceea93a386169d6fd
tree06ce0a27e9dcb996de3150a7c49cbf17c553eb61
parent7d7d93ad5efb66d5764017a7a62c90f3b5353986
pp_goto: Call get-magic before choosing goto type

Deciding whether this is goto-label or goto-sub can only correctly
happen after get-magic has been invoked, as get-magic can cause the
argument to begin or cease to be a subroutine reference.
pp_ctl.c
t/op/goto.t