summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-07-05 08:09:28 -0600
committerKarl Williamson <khw@cpan.org>2022-07-05 10:12:32 -0600
commitc1387cbdcd945e1d08e8c6ba714c2d8fcc897f98 (patch)
tree68571b6d6e60d2438cf4ad0771407c0b01eb9de0 /regcomp.h
parentc9a49963b409c0a27396949b3d69489fe12fdeac (diff)
downloadperl-c1387cbdcd945e1d08e8c6ba714c2d8fcc897f98.tar.gz
regcomp.h: Use mnemonic instead of literal+constant
This is a small thing, but might as well use the mnemonic.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.h b/regcomp.h
index cd23a6fc21..096f56da9b 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -171,7 +171,7 @@ struct regnode_2 {
U16 arg2;
};
-#define ANYOF_BITMAP_SIZE (NUM_ANYOF_CODE_POINTS / 8) /* 8 bits/Byte */
+#define ANYOF_BITMAP_SIZE (NUM_ANYOF_CODE_POINTS / CHARBITS)
/* Note that these form structs which are supersets of the next smaller one, by
* appending fields. Alignment problems can occur if one of those optional