summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-11-07 05:56:19 -0800
committerFather Chrysostomos <sprout@cpan.org>2013-11-08 17:55:51 -0800
commit97124ef6ab6884e35747b8564e7cd2db6e6ac035 (patch)
tree8040e94bc39737631b8afb71c952a8d4a15a6452 /opcode.h
parenteecd355e30ad4eda87ce630d5a2a829af855d0a2 (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode.h b/opcode.h
index 9a9ef1e60a..ca948a9124 100644
--- a/opcode.h
+++ b/opcode.h
@@ -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 */