Skip to content

Commit bcd28b1

Browse files
committed
fixup comment in S_trie_bitmap_set_folded()
Karl pointed out that the comment was only accurate on non-EBCDIC systems.
1 parent a73aa54 commit bcd28b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

regcomp_trie.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,10 @@ S_trie_bitmap_set_folded(pTHX_ RExC_state_t *pRExC_state,
535535
/* variant codepoints */
536536
if (! UVCHR_IS_INVARIANT(ch)) {
537537
U8 hi = UTF8_TWO_BYTE_HI(ch);
538-
/* Note that hi will be either 0xc2 or 0xc3, and
539-
* TRIE_BITMAP_SET() will do >>3 to get the byte offset
540-
* within the bit table, which is constant, and Coverity
541-
* complained about this (CID 488118). */
538+
/* Note that hi will be either 0xc2 or 0xc3 (apart from EBCDIC
539+
* systems), and TRIE_BITMAP_SET() will do >>3 to get the byte
540+
* offset within the bit table, which is constant, and
541+
* Coverity complained about this (CID 488118). */
542542
TRIE_BITMAP_SET(trie, hi);
543543
}
544544
}

0 commit comments

Comments
 (0)