summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-12-26 12:34:07 -0700
committerKarl Williamson <khw@cpan.org>2015-12-26 12:57:41 -0700
commit428c1aff5a0e12f06706ffce0a395e4123d8965e (patch)
treeaad7d6d4f88b6f65a9434cb00a512320d6aec20e /regcomp.h
parent0effac6071c5a0244f527fa9e019938a107ab9ac (diff)
downloadperl-428c1aff5a0e12f06706ffce0a395e4123d8965e.tar.gz
regcomp.h: Remove extraneous 'struct's
Better to not have this clutter.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/regcomp.h b/regcomp.h
index 263965a2e6..630e2e9588 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -680,8 +680,8 @@ struct regnode_ssc {
#define ANYOF_POSIXL_AND(source, dest) STMT_START { (dest)->classflags &= (source)->classflags ; } STMT_END
-#define ANYOF_BITMAP_ZERO(ret) Zero(((struct regnode_charclass*)(ret))->bitmap, ANYOF_BITMAP_SIZE, char)
-#define ANYOF_BITMAP(p) (((struct regnode_charclass*)(p))->bitmap)
+#define ANYOF_BITMAP_ZERO(ret) Zero(((regnode_charclass*)(ret))->bitmap, ANYOF_BITMAP_SIZE, char)
+#define ANYOF_BITMAP(p) ((regnode_charclass*)(p))->bitmap
#define ANYOF_BITMAP_BYTE(p, c) BITMAP_BYTE(ANYOF_BITMAP(p), c)
#define ANYOF_BITMAP_SET(p, c) (ANYOF_BITMAP_BYTE(p, c) |= ANYOF_BIT(c))
#define ANYOF_BITMAP_CLEAR(p,c) (ANYOF_BITMAP_BYTE(p, c) &= ~ANYOF_BIT(c))
@@ -692,7 +692,7 @@ struct regnode_ssc {
#define ANYOF_BITMAP_CLEARALL(p) \
Zero (ANYOF_BITMAP(p), ANYOF_BITMAP_SIZE)
-#define ANYOF_SKIP EXTRA_SIZE(struct regnode_charclass)
+#define ANYOF_SKIP EXTRA_SIZE(regnode_charclass)
#define ANYOF_POSIXL_SKIP EXTRA_SIZE(regnode_charclass_posixl)
/*