From 5450b4d821fab857cc229e3d2904470db00469c2 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sat, 2 Nov 2013 17:28:48 -0700 Subject: Make &CORE::exit respect vmsish exit hint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit by removing the hint from the exit op itself and just having pp_exit look in the cop hint hash, where it is already stored (as a result of having been in %^H at compile time). &CORE:: subs intentionally lack a nextstate op (cop) so they can see the hints in the caller’s nextstate op. --- op.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'op.h') diff --git a/op.h b/op.h index 6523df16f6..411b78ac2c 100644 --- a/op.h +++ b/op.h @@ -331,9 +331,6 @@ is no conversion of op type. 128 */ -/* Private for OP_EXIT */ -#define OPpEXIT_VMSISH 128 /* exit(0) vs. exit(1) vmsish mode*/ - /* Private for OP_FTXXX */ #define OPpFT_ACCESS 2 /* use filetest 'access' */ #define OPpFT_STACKED 4 /* stacked filetest, as "-f" in "-f -x $f" */ -- cgit v1.2.1