summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-07-31 13:49:27 -0600
committerRafael Garcia-Suarez <rgs@consttype.org>2010-08-11 10:23:34 +0200
commit930c12f8fecc529e27d4154262b31d6550fd0641 (patch)
treee425ad805239794a34f4706a6e76f0ca1e7d60b3 /regexp.h
parent17657a39a2e6771c7aa399eb1696b9a06bbd58f9 (diff)
downloadperl-930c12f8fecc529e27d4154262b31d6550fd0641.tar.gz
regexp.h: Fix error check to use correct offset
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexp.h b/regexp.h
index d984031fb4..ee46135f81 100644
--- a/regexp.h
+++ b/regexp.h
@@ -339,7 +339,7 @@ and check for NULL.
#define RXf_SKIPWHITE (1<<(_RXf_PMf_SHIFT+24)) /* Pattern is for a split / / */
#define RXf_WHITE (1<<(_RXf_PMf_SHIFT+25)) /* Pattern is /\s+/ */
#define RXf_NULL (1<<(_RXf_PMf_SHIFT+26)) /* Pattern is // */
-#if _RXf_PMf_SHIFT+23 > 31
+#if _RXf_PMf_SHIFT+26 > 31
# error Too many RXf_PMf bits used. See regnodes.h for any spare in middle
#endif