Skip to content

Commit c96c368

Browse files
committed
perl.h: Change commented-out-code to use INIT()
and not DOINIT
1 parent 80a13a0 commit c96c368

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

perl.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6554,10 +6554,9 @@ SOFTWARE.
65546554
65556555
*/
65566556

6557-
# ifdef DOINIT
6558-
# if 0 /* This is the original table given in
6557+
# if 0 /* This is the original table given in
65596558
https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ */
6560-
static U8 utf8d_C9[] = {
6559+
static U8 utf8d_C9[] INIT( {
65616560
/* The first part of the table maps bytes to character classes that
65626561
* to reduce the size of the transition table and create bitmasks. */
65636562
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /*-1F*/
@@ -6576,9 +6575,10 @@ static U8 utf8d_C9[] = {
65766575
12,12,12,12,12,12,12,24,12,12,12,12, 12,24,12,12,12,12,12,12,12,24,12,12,
65776576
12,12,12,12,12,12,12,36,12,36,12,12, 12,36,12,12,12,12,12,36,12,36,12,12,
65786577
12,36,12,12,12,12,12,12,12,12,12,12
6579-
};
6578+
});
65806579

6581-
# endif
6580+
# endif
6581+
# ifdef DOINIT
65826582

65836583
/* This is a version of the above table customized for Perl that doesn't
65846584
* exclude surrogates and accepts start bytes up through FD (FE on 64-bit

0 commit comments

Comments
 (0)