summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-11-11 19:20:40 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-11-22 13:32:50 -0800
commitc355c09a82f4c7345a6bafa5322643acdb584e80 (patch)
treec5e726cdf4d1f9a17d6b6479fb9610c2e7b32518 /regcomp.h
parent4a3ee7a8c5e958ebd0500405d28bb80fb3d2bb43 (diff)
downloadperl-c355c09a82f4c7345a6bafa5322643acdb584e80.tar.gz
regcomp.h: Add comment
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 3ab984b646..3e541100d7 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -410,7 +410,7 @@ struct regnode_charclass_class {
#define ANYOF_BITMAP_CLEARALL(p) \
Zero (ANYOF_BITMAP(p), ANYOF_BITMAP_SIZE)
/* Check that all 256 bits are all set. Used in S_cl_is_anything() */
-#define ANYOF_BITMAP_TESTALLSET(p) \
+#define ANYOF_BITMAP_TESTALLSET(p) /* Assumes sizeof(p) == 32 */ \
memEQ (ANYOF_BITMAP(p), "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377", ANYOF_BITMAP_SIZE)
#define ANYOF_SKIP ((ANYOF_SIZE - 1)/sizeof(regnode))