@@ -509,23 +509,28 @@ string C<p>, creating the package if necessary.
509509#ifdef USE_ITHREADS
510510
511511# define CopFILE (c ) ((c)->cop_file)
512- # define CopFILEGV (c ) (CopFILE(c) \
513- ? gv_fetchfile(CopFILE(c)) : NULL)
512+ # define CopFILEGV (c ) \
513+ (CopFILE(c)\
514+ ? gv_fetchfile(CopFILE(c)) : NULL)
514515
515516# define CopFILE_set (c ,pv ) ((c)->cop_file = savesharedpv(pv))
516517# define CopFILE_setn (c ,pv ,l ) ((c)->cop_file = savesharedpvn((pv),(l)))
517518
518- # define CopFILESV (c ) (CopFILE(c) \
519- ? GvSV(gv_fetchfile(CopFILE(c))) : NULL)
520- # define CopFILEAV (c ) (CopFILE(c) \
521- ? GvAV(gv_fetchfile(CopFILE(c))) : NULL)
522- # define CopFILEAVx (c ) (assert_(CopFILE(c)) \
523- GvAV(gv_fetchfile(CopFILE(c))))
519+ # define CopFILESV (c ) \
520+ (CopFILE(c)\
521+ ? GvSV(gv_fetchfile(CopFILE(c))) : NULL)
522+ # define CopFILEAV (c ) \
523+ (CopFILE(c)\
524+ ? GvAV(gv_fetchfile(CopFILE(c))) : NULL)
525+ # define CopFILEAVx (c ) \
526+ (assert_(CopFILE(c))\
527+ GvAV(gv_fetchfile(CopFILE(c))))
524528# define CopFILEAVn (c ) (cop_file_avn(c))
525529# define CopSTASH (c ) PL_stashpad[(c)->cop_stashoff]
526- # define CopSTASH_set (c ,hv ) ((c)->cop_stashoff = (hv) \
527- ? alloccopstash(hv) \
528- : 0)
530+ # define CopSTASH_set (c ,hv ) \
531+ ((c)->cop_stashoff = (hv)\
532+ ? alloccopstash(hv) \
533+ : 0)
529534# define CopFILE_free (c ) (PerlMemShared_free(CopFILE(c)),(CopFILE(c) = NULL))
530535
531536#else /* Above: yes threads; Below no threads */
@@ -542,8 +547,9 @@ string C<p>, creating the package if necessary.
542547# define CopFILEAVx (c ) (GvAV(CopFILEGV(c)))
543548# endif
544549# define CopFILEAVn (c ) (CopFILEGV(c) ? GvAVn(CopFILEGV(c)) : NULL)
545- # define CopFILE (c ) (CopFILEGV(c) /* +2 for '_<' */ \
546- ? GvNAME (CopFILEGV (c ))+2 : NULL)
550+ # define CopFILE (c ) \
551+ (CopFILEGV(c) /* +2 for '_<' */ \
552+ ? GvNAME (CopFILEGV (c ))+2 : NULL)
547553# define CopSTASH (c ) ((c)->cop_stash)
548554# define CopSTASH_set (c ,hv ) ((c)->cop_stash = (hv))
549555# define CopFILE_free (c ) (SvREFCNT_dec(CopFILEGV(c)),(CopFILEGV(c) = NULL))
@@ -690,9 +696,10 @@ by setting C<*flags> to 0 or C<SVf_UTF8>.
690696#define OutCopFILE (c ) CopFILE(c)
691697
692698#define CopHINTS_get (c ) ((c)->cop_hints + 0)
693- #define CopHINTS_set (c , h ) STMT_START { \
694- (c)->cop_hints = (h); \
695- } STMT_END
699+ #define CopHINTS_set (c , h ) \
700+ STMT_START {\
701+ (c)->cop_hints = (h); \
702+ } STMT_END
696703
697704/*
698705 * Here we have some enormously heavy (or at least ponderous) wizardry.
@@ -945,7 +952,8 @@ struct subst {
945952#define sb_rxres cx_u.cx_subst.sbu_rxres
946953#define sb_rx cx_u.cx_subst.sbu_rx
947954
948- # define CX_PUSHSUBST (cx ) CXINC, cx = CX_CUR(), \
955+ # define CX_PUSHSUBST (cx ) \
956+ CXINC, cx = CX_CUR(),\
949957 cx->blk_oldsaveix = oldsave, \
950958 cx->sb_iters = iters, \
951959 cx->sb_maxiters = maxiters, \
@@ -1040,17 +1048,22 @@ struct context {
10401048#define CXp_ONCE 0x10 /* What was sbu_once in struct subst */
10411049
10421050#define CxTYPE (c ) ((c)->cx_type & CXTYPEMASK)
1043- #define CxTYPE_is_LOOP (c ) ( CxTYPE(cx) >= CXt_LOOP_ARY \
1044- && CxTYPE(cx) <= CXt_LOOP_PLAIN)
1051+ #define CxTYPE_is_LOOP (c ) \
1052+ ( CxTYPE(cx) >= CXt_LOOP_ARY\
1053+ && CxTYPE(cx) <= CXt_LOOP_PLAIN)
10451054#define CxMULTICALL (c ) ((c)->cx_type & CXp_MULTICALL)
1046- #define CxREALEVAL (c ) (((c)->cx_type & (CXTYPEMASK|CXp_REAL)) \
1047- == (CXt_EVAL|CXp_REAL))
1048- #define CxEVALBLOCK (c ) (((c)->cx_type & (CXTYPEMASK|CXp_EVALBLOCK)) \
1049- == (CXt_EVAL|CXp_EVALBLOCK))
1050- #define CxTRY (c ) (((c)->cx_type & (CXTYPEMASK|CXp_TRY)) \
1051- == (CXt_EVAL|CXp_TRY))
1052- #define CxFOREACH (c ) ( CxTYPE(cx) >= CXt_LOOP_ARY \
1053- && CxTYPE(cx) <= CXt_LOOP_LIST)
1055+ #define CxREALEVAL (c ) \
1056+ (((c)->cx_type & (CXTYPEMASK|CXp_REAL))\
1057+ == (CXt_EVAL|CXp_REAL))
1058+ #define CxEVALBLOCK (c ) \
1059+ (((c)->cx_type & (CXTYPEMASK|CXp_EVALBLOCK))\
1060+ == (CXt_EVAL|CXp_EVALBLOCK))
1061+ #define CxTRY (c ) \
1062+ (((c)->cx_type & (CXTYPEMASK|CXp_TRY))\
1063+ == (CXt_EVAL|CXp_TRY))
1064+ #define CxFOREACH (c ) \
1065+ ( CxTYPE(cx) >= CXt_LOOP_ARY\
1066+ && CxTYPE(cx) <= CXt_LOOP_LIST)
10541067
10551068/* private flags for CXt_DEFER */
10561069#define CXp_FINALLY 0x20 /* `finally` block; semantically identical
0 commit comments