summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-25 10:46:34 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-25 21:06:08 -0700
commit2eabac7cf473306a3d2131fe53c1e4fbbd7fe2ba (patch)
treeb86b4be1ec5d7ada41fd396ae338dec2e3d793af
parentc34a735eb8190cd7cf9d4956d849b2f0d91d397d (diff)
downloadperl-2eabac7cf473306a3d2131fe53c1e4fbbd7fe2ba.tar.gz
regcomp.c: Add comment
-rw-r--r--regcomp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index f1ed5ea162..b4cdbfe259 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -9233,7 +9233,8 @@ S_set_regclass_bit_fold(pTHX_ RExC_state_t *pRExC_state, regnode* node, const U8
bitmap, but only when the target string is utf8. Similarly when we
don't have unicode semantics for the above ASCII Latin-1 characters,
and they have a fold, they should match if the target is utf8, and
- not otherwise */
+ not otherwise. We add the character here, and calculate the fold
+ later, with the other nonbitmap folds */
if (! *nonbitmap_ptr) {
*nonbitmap_ptr = _new_invlist(2);
}