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 /regen/opcodes | |
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 'regen/opcodes')
-rw-r--r-- | regen/opcodes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/opcodes b/regen/opcodes index f904b06882..80125e2241 100644 --- a/regen/opcodes +++ b/regen/opcodes @@ -286,7 +286,7 @@ leavesub subroutine exit ck_null 1 leavesublv lvalue subroutine return ck_null 1 caller caller ck_fun t% S? warn warn ck_fun imst@ L -die die ck_die dimst@ L +die die ck_fun dimst@ L reset symbol reset ck_fun is% S? lineseq line sequence ck_null @ |