summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-27 07:33:53 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-02-27 07:33:53 +0000
commit76f523e8bec03e7faa578eb06107658a02645d75 (patch)
tree14157aa2c24ddb9749fbcc7ebff7a8adcba67dc4
parent5526b5b35ef97d80c7bc2904d09cdc868f6a3c5a (diff)
downloadperl-76f523e8bec03e7faa578eb06107658a02645d75.tar.gz
Fix argument grouping for some macros
p4raw-id: //depot/perl@27331
-rw-r--r--gv.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gv.h b/gv.h
index 67218d8d13..e9a3e30eda 100644
--- a/gv.h
+++ b/gv.h
@@ -27,30 +27,30 @@ struct gp {
#if defined (DEBUGGING) && defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
# define GvGP(gv) \
- (*({GV *const shplep = (GV *) gv; \
+ (*({GV *const shplep = (GV *) (gv); \
assert(SvTYPE(shplep) == SVt_PVGV || \
SvTYPE(shplep) == SVt_PVLV); \
assert(isGV_with_GP(shplep)); \
&((shplep)->sv_u.svu_gp);}))
# define GvFLAGS(gv) \
- (*({GV *const yaah = (GV *) gv; \
+ (*({GV *const yaah = (GV *) (gv); \
assert(SvTYPE(yaah) == SVt_PVGV || SvTYPE(yaah) == SVt_PVLV); \
assert(isGV_with_GP(yaah)); \
&(GvXPVGV(yaah)->xpv_cur);}))
# define GvSTASH(gv) \
- (*({ GV *_gv = (GV *) gv; \
+ (*({ GV *_gv = (GV *) (gv); \
assert(isGV_with_GP(_gv)); \
assert(SvTYPE(_gv) == SVt_PVGV || SvTYPE(_gv) >= SVt_PVLV); \
&(GvXPVGV(_gv)->xnv_u.xgv_stash); \
}))
# define GvNAME(gv) \
- (*({ GV *zzzz = (GV *) gv; \
+ (*({ GV *zzzz = (GV *) (gv); \
assert(isGV_with_GP(zzzz)); \
assert(SvTYPE(zzzz) == SVt_PVGV || SvTYPE(zzzz) >= SVt_PVLV); \
&(GvXPVGV(zzzz)->xgv_name); \
}))
# define GvNAMELEN(gv) \
- (*({ GV *glank = (GV *) gv; \
+ (*({ GV *glank = (GV *) (gv); \
assert(isGV_with_GP(glank)); \
assert(SvTYPE(glank) == SVt_PVGV || SvTYPE(glank) >= SVt_PVLV); \
&(GvXPVGV(glank)->xgv_namelen); \