@@ -563,8 +563,9 @@ typedef struct rcpv RCPV;
563563
564564# define CopFILE (c ) ((c)->cop_file)
565565# define CopFILE_LEN (c ) (CopFILE(c) ? RCPV_LEN(CopFILE(c)) : 0)
566- # define CopFILEGV (c ) (CopFILE(c) \
567- ? gv_fetchfile(CopFILE(c)) : NULL)
566+ # define CopFILEGV (c ) \
567+ (CopFILE(c)\
568+ ? gv_fetchfile(CopFILE(c)) : NULL)
568569
569570# define CopFILE_set_x (c ,pv ) ((c)->cop_file = rcpv_new((pv),0,RCPVf_USE_STRLEN))
570571# define CopFILE_setn_x (c ,pv ,l ) ((c)->cop_file = rcpv_new((pv),(l),0))
@@ -608,17 +609,21 @@ typedef struct rcpv RCPV;
608609 } STMT_END
609610
610611
611- # define CopFILESV (c ) (CopFILE(c) \
612- ? GvSV(gv_fetchfile(CopFILE(c))) : NULL)
613- # define CopFILEAV (c ) (CopFILE(c) \
614- ? GvAV(gv_fetchfile(CopFILE(c))) : NULL)
615- # define CopFILEAVx (c ) (assert_(CopFILE(c)) \
616- GvAV(gv_fetchfile(CopFILE(c))))
612+ # define CopFILESV (c ) \
613+ (CopFILE(c)\
614+ ? GvSV(gv_fetchfile(CopFILE(c))) : NULL)
615+ # define CopFILEAV (c ) \
616+ (CopFILE(c)\
617+ ? GvAV(gv_fetchfile(CopFILE(c))) : NULL)
618+ # define CopFILEAVx (c ) \
619+ (assert_(CopFILE(c))\
620+ GvAV(gv_fetchfile(CopFILE(c))))
617621# define CopFILEAVn (c ) (cop_file_avn(c))
618622# define CopSTASH (c ) PL_stashpad[(c)->cop_stashoff]
619- # define CopSTASH_set (c ,hv ) ((c)->cop_stashoff = (hv) \
620- ? alloccopstash(hv) \
621- : 0)
623+ # define CopSTASH_set (c ,hv ) \
624+ ((c)->cop_stashoff = (hv)\
625+ ? alloccopstash(hv) \
626+ : 0)
622627
623628#else /* Above: yes threads; Below no threads */
624629
@@ -635,10 +640,12 @@ typedef struct rcpv RCPV;
635640# define CopFILEAVx (c ) (GvAV(CopFILEGV(c)))
636641# endif
637642# define CopFILEAVn (c ) (CopFILEGV(c) ? GvAVn(CopFILEGV(c)) : NULL)
638- # define CopFILE (c ) (CopFILEGV(c) /* +2 for '_<' */ \
639- ? GvNAME (CopFILEGV (c ))+2 : NULL)
640- # define CopFILE_LEN (c ) (CopFILEGV(c) /* -2 for '_<' */ \
641- ? GvNAMELEN (CopFILEGV (c ))-2 : 0)
643+ # define CopFILE (c ) \
644+ (CopFILEGV(c) /* +2 for '_<' */ \
645+ ? GvNAME (CopFILEGV (c ))+2 : NULL)
646+ # define CopFILE_LEN (c ) \
647+ (CopFILEGV(c) /* -2 for '_<' */ \
648+ ? GvNAMELEN (CopFILEGV (c ))-2 : 0)
642649# define CopSTASH (c ) ((c)->cop_stash)
643650# define CopSTASH_set (c ,hv ) ((c)->cop_stash = (hv))
644651# define CopFILE_free (c ) (SvREFCNT_dec(CopFILEGV(c)),(CopFILEGV(c) = NULL))
@@ -787,9 +794,10 @@ by setting C<*flags> to 0 or C<SVf_UTF8>.
787794#define OutCopFILE (c ) CopFILE(c)
788795
789796#define CopHINTS_get (c ) ((c)->cop_hints + 0)
790- #define CopHINTS_set (c , h ) STMT_START { \
791- (c)->cop_hints = (h); \
792- } STMT_END
797+ #define CopHINTS_set (c , h ) \
798+ STMT_START {\
799+ (c)->cop_hints = (h); \
800+ } STMT_END
793801
794802/*
795803 * Here we have some enormously heavy (or at least ponderous) wizardry.
@@ -1042,7 +1050,8 @@ struct subst {
10421050#define sb_rxres cx_u.cx_subst.sbu_rxres
10431051#define sb_rx cx_u.cx_subst.sbu_rx
10441052
1045- # define CX_PUSHSUBST (cx ) CXINC, cx = CX_CUR(), \
1053+ # define CX_PUSHSUBST (cx ) \
1054+ CXINC, cx = CX_CUR(),\
10461055 cx->blk_oldsaveix = oldsave, \
10471056 cx->sb_iters = iters, \
10481057 cx->sb_maxiters = maxiters, \
@@ -1137,17 +1146,22 @@ struct context {
11371146#define CXp_ONCE 0x10 /* What was sbu_once in struct subst */
11381147
11391148#define CxTYPE (c ) ((c)->cx_type & CXTYPEMASK)
1140- #define CxTYPE_is_LOOP (c ) ( CxTYPE(cx) >= CXt_LOOP_ARY \
1141- && CxTYPE(cx) <= CXt_LOOP_PLAIN)
1149+ #define CxTYPE_is_LOOP (c ) \
1150+ ( CxTYPE(cx) >= CXt_LOOP_ARY\
1151+ && CxTYPE(cx) <= CXt_LOOP_PLAIN)
11421152#define CxMULTICALL (c ) ((c)->cx_type & CXp_MULTICALL)
1143- #define CxREALEVAL (c ) (((c)->cx_type & (CXTYPEMASK|CXp_REAL)) \
1144- == (CXt_EVAL|CXp_REAL))
1145- #define CxEVALBLOCK (c ) (((c)->cx_type & (CXTYPEMASK|CXp_EVALBLOCK)) \
1146- == (CXt_EVAL|CXp_EVALBLOCK))
1147- #define CxTRY (c ) (((c)->cx_type & (CXTYPEMASK|CXp_TRY)) \
1148- == (CXt_EVAL|CXp_TRY))
1149- #define CxFOREACH (c ) ( CxTYPE(cx) >= CXt_LOOP_ARY \
1150- && CxTYPE(cx) <= CXt_LOOP_LIST)
1153+ #define CxREALEVAL (c ) \
1154+ (((c)->cx_type & (CXTYPEMASK|CXp_REAL))\
1155+ == (CXt_EVAL|CXp_REAL))
1156+ #define CxEVALBLOCK (c ) \
1157+ (((c)->cx_type & (CXTYPEMASK|CXp_EVALBLOCK))\
1158+ == (CXt_EVAL|CXp_EVALBLOCK))
1159+ #define CxTRY (c ) \
1160+ (((c)->cx_type & (CXTYPEMASK|CXp_TRY))\
1161+ == (CXt_EVAL|CXp_TRY))
1162+ #define CxFOREACH (c ) \
1163+ ( CxTYPE(cx) >= CXt_LOOP_ARY\
1164+ && CxTYPE(cx) <= CXt_LOOP_LIST)
11511165
11521166/* private flags for CXt_DEFER */
11531167#define CXp_FINALLY 0x20 /* `finally` block; semantically identical
0 commit comments