diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-11-07 05:56:19 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-11-08 17:55:51 -0800 |
commit | 97124ef6ab6884e35747b8564e7cd2db6e6ac035 (patch) | |
tree | 8040e94bc39737631b8afb71c952a8d4a15a6452 /opcode.h | |
parent | eecd355e30ad4eda87ce630d5a2a829af855d0a2 (diff) | |
download | perl-97124ef6ab6884e35747b8564e7cd2db6e6ac035.tar.gz |
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.
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1514,7 +1514,7 @@ EXT Perl_check_t PL_check[] /* or perlvars.h */ Perl_ck_null, /* leavesublv */ Perl_ck_fun, /* caller */ Perl_ck_fun, /* warn */ - Perl_ck_die, /* die */ + Perl_ck_fun, /* die */ Perl_ck_fun, /* reset */ Perl_ck_null, /* lineseq */ Perl_ck_null, /* nextstate */ |