@@ -557,8 +557,9 @@ typedef struct rcpv RCPV;
557557
558558# define CopFILE (c ) ((c)->cop_file)
559559# define CopFILE_LEN (c ) (CopFILE(c) ? RCPV_LEN(CopFILE(c)) : 0)
560- # define CopFILEGV (c ) (CopFILE(c) \
561- ? gv_fetchfile(CopFILE(c)) : NULL)
560+ # define CopFILEGV (c ) \
561+ (CopFILE(c)\
562+ ? gv_fetchfile(CopFILE(c)) : NULL)
562563
563564# define CopFILE_set_x (c ,pv ) ((c)->cop_file = rcpv_new((pv),0,RCPVf_USE_STRLEN))
564565# define CopFILE_setn_x (c ,pv ,l ) ((c)->cop_file = rcpv_new((pv),(l),0))
@@ -602,17 +603,21 @@ typedef struct rcpv RCPV;
602603 } STMT_END
603604
604605
605- # define CopFILESV (c ) (CopFILE(c) \
606- ? GvSV(gv_fetchfile(CopFILE(c))) : NULL)
607- # define CopFILEAV (c ) (CopFILE(c) \
608- ? GvAV(gv_fetchfile(CopFILE(c))) : NULL)
609- # define CopFILEAVx (c ) (assert_(CopFILE(c)) \
610- GvAV(gv_fetchfile(CopFILE(c))))
606+ # define CopFILESV (c ) \
607+ (CopFILE(c)\
608+ ? GvSV(gv_fetchfile(CopFILE(c))) : NULL)
609+ # define CopFILEAV (c ) \
610+ (CopFILE(c)\
611+ ? GvAV(gv_fetchfile(CopFILE(c))) : NULL)
612+ # define CopFILEAVx (c ) \
613+ (assert_(CopFILE(c))\
614+ GvAV(gv_fetchfile(CopFILE(c))))
611615# define CopFILEAVn (c ) (cop_file_avn(c))
612616# define CopSTASH (c ) PL_stashpad[(c)->cop_stashoff]
613- # define CopSTASH_set (c ,hv ) ((c)->cop_stashoff = (hv) \
614- ? alloccopstash(hv) \
615- : 0)
617+ # define CopSTASH_set (c ,hv ) \
618+ ((c)->cop_stashoff = (hv)\
619+ ? alloccopstash(hv) \
620+ : 0)
616621
617622#else /* Above: yes threads; Below no threads */
618623
@@ -629,10 +634,12 @@ typedef struct rcpv RCPV;
629634# define CopFILEAVx (c ) (GvAV(CopFILEGV(c)))
630635# endif
631636# define CopFILEAVn (c ) (CopFILEGV(c) ? GvAVn(CopFILEGV(c)) : NULL)
632- # define CopFILE (c ) (CopFILEGV(c) /* +2 for '_<' */ \
633- ? GvNAME (CopFILEGV (c ))+2 : NULL)
634- # define CopFILE_LEN (c ) (CopFILEGV(c) /* -2 for '_<' */ \
635- ? GvNAMELEN (CopFILEGV (c ))-2 : 0)
637+ # define CopFILE (c ) \
638+ (CopFILEGV(c) /* +2 for '_<' */ \
639+ ? GvNAME (CopFILEGV (c ))+2 : NULL)
640+ # define CopFILE_LEN (c ) \
641+ (CopFILEGV(c) /* -2 for '_<' */ \
642+ ? GvNAMELEN (CopFILEGV (c ))-2 : 0)
636643# define CopSTASH (c ) ((c)->cop_stash)
637644# define CopSTASH_set (c ,hv ) ((c)->cop_stash = (hv))
638645# define CopFILE_free (c ) (SvREFCNT_dec(CopFILEGV(c)),(CopFILEGV(c) = NULL))
@@ -781,9 +788,10 @@ by setting C<*flags> to 0 or C<SVf_UTF8>.
781788#define OutCopFILE (c ) CopFILE(c)
782789
783790#define CopHINTS_get (c ) ((c)->cop_hints + 0)
784- #define CopHINTS_set (c , h ) STMT_START { \
785- (c)->cop_hints = (h); \
786- } STMT_END
791+ #define CopHINTS_set (c , h ) \
792+ STMT_START {\
793+ (c)->cop_hints = (h); \
794+ } STMT_END
787795
788796/*
789797 * Here we have some enormously heavy (or at least ponderous) wizardry.
@@ -1036,7 +1044,8 @@ struct subst {
10361044#define sb_rxres cx_u.cx_subst.sbu_rxres
10371045#define sb_rx cx_u.cx_subst.sbu_rx
10381046
1039- # define CX_PUSHSUBST (cx ) CXINC, cx = CX_CUR(), \
1047+ # define CX_PUSHSUBST (cx ) \
1048+ CXINC, cx = CX_CUR(),\
10401049 cx->blk_oldsaveix = oldsave, \
10411050 cx->sb_iters = iters, \
10421051 cx->sb_maxiters = maxiters, \
@@ -1131,17 +1140,22 @@ struct context {
11311140#define CXp_ONCE 0x10 /* What was sbu_once in struct subst */
11321141
11331142#define CxTYPE (c ) ((c)->cx_type & CXTYPEMASK)
1134- #define CxTYPE_is_LOOP (c ) ( CxTYPE(cx) >= CXt_LOOP_ARY \
1135- && CxTYPE(cx) <= CXt_LOOP_PLAIN)
1143+ #define CxTYPE_is_LOOP (c ) \
1144+ ( CxTYPE(cx) >= CXt_LOOP_ARY\
1145+ && CxTYPE(cx) <= CXt_LOOP_PLAIN)
11361146#define CxMULTICALL (c ) ((c)->cx_type & CXp_MULTICALL)
1137- #define CxREALEVAL (c ) (((c)->cx_type & (CXTYPEMASK|CXp_REAL)) \
1138- == (CXt_EVAL|CXp_REAL))
1139- #define CxEVALBLOCK (c ) (((c)->cx_type & (CXTYPEMASK|CXp_EVALBLOCK)) \
1140- == (CXt_EVAL|CXp_EVALBLOCK))
1141- #define CxTRY (c ) (((c)->cx_type & (CXTYPEMASK|CXp_TRY)) \
1142- == (CXt_EVAL|CXp_TRY))
1143- #define CxFOREACH (c ) ( CxTYPE(cx) >= CXt_LOOP_ARY \
1144- && CxTYPE(cx) <= CXt_LOOP_LIST)
1147+ #define CxREALEVAL (c ) \
1148+ (((c)->cx_type & (CXTYPEMASK|CXp_REAL))\
1149+ == (CXt_EVAL|CXp_REAL))
1150+ #define CxEVALBLOCK (c ) \
1151+ (((c)->cx_type & (CXTYPEMASK|CXp_EVALBLOCK))\
1152+ == (CXt_EVAL|CXp_EVALBLOCK))
1153+ #define CxTRY (c ) \
1154+ (((c)->cx_type & (CXTYPEMASK|CXp_TRY))\
1155+ == (CXt_EVAL|CXp_TRY))
1156+ #define CxFOREACH (c ) \
1157+ ( CxTYPE(cx) >= CXt_LOOP_ARY\
1158+ && CxTYPE(cx) <= CXt_LOOP_LIST)
11451159
11461160/* private flags for CXt_DEFER */
11471161#define CXp_FINALLY 0x20 /* `finally` block; semantically identical
0 commit comments