diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-07-31 13:49:27 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2010-08-11 10:23:34 +0200 |
commit | 930c12f8fecc529e27d4154262b31d6550fd0641 (patch) | |
tree | e425ad805239794a34f4706a6e76f0ca1e7d60b3 | |
parent | 17657a39a2e6771c7aa399eb1696b9a06bbd58f9 (diff) | |
download | perl-930c12f8fecc529e27d4154262b31d6550fd0641.tar.gz |
regexp.h: Fix error check to use correct offset
-rw-r--r-- | regexp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |