This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix &CORE::exit/die under vmsish "hushed"
authorFather Chrysostomos <sprout@cpan.org>
Thu, 7 Nov 2013 13:56:19 +0000 (05:56 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 9 Nov 2013 01:55:51 +0000 (17:55 -0800)
commit97124ef6ab6884e35747b8564e7cd2db6e6ac035
tree8040e94bc39737631b8afb71c952a8d4a15a6452
parenteecd355e30ad4eda87ce630d5a2a829af855d0a2
Fix &CORE::exit/die under vmsish "hushed"

This commit makes them behave like exit and die without the ampersand
by moving the OPpHUSH_VMSISH hint from exit/die op to the current
statement (nextstate/cop) instead.  &CORE:: subs intentionally lack a
nextstate op, so they can see the hints in the caller’s nextstate op.
embed.h
op.c
op.h
opcode.h
pp_ctl.c
pp_sys.c
proto.h
regen/opcodes