summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
531e207)
This reverts commit
241136e0ed70738cccd6c4b20ce12b26231f30e5.
This continues the backing out of this topic branch. A bisect shows
that the first commit exhibiting an error is the first one in the
branch.
-static const UV Latin1_invlist[] = {
+static UV Latin1_invlist[] = {
2, /* Number of elements */
2, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV AboveLatin1_invlist[] = {
+static UV AboveLatin1_invlist[] = {
1, /* Number of elements */
1, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV ASCII_invlist[] = {
+static UV ASCII_invlist[] = {
2, /* Number of elements */
2, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1Cased_invlist[] = {
+static UV L1Cased_invlist[] = {
16, /* Number of elements */
16, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV VertSpace_invlist[] = {
+static UV VertSpace_invlist[] = {
6, /* Number of elements */
6, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PerlSpace_invlist[] = {
+static UV PerlSpace_invlist[] = {
4, /* Number of elements */
4, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV XPerlSpace_invlist[] = {
+static UV XPerlSpace_invlist[] = {
22, /* Number of elements */
22, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixAlnum_invlist[] = {
+static UV PosixAlnum_invlist[] = {
6, /* Number of elements */
6, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1PosixAlnum_invlist[] = {
+static UV L1PosixAlnum_invlist[] = {
18, /* Number of elements */
18, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixAlpha_invlist[] = {
+static UV PosixAlpha_invlist[] = {
4, /* Number of elements */
4, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1PosixAlpha_invlist[] = {
+static UV L1PosixAlpha_invlist[] = {
16, /* Number of elements */
16, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixBlank_invlist[] = {
+static UV PosixBlank_invlist[] = {
4, /* Number of elements */
4, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV XPosixBlank_invlist[] = {
+static UV XPosixBlank_invlist[] = {
18, /* Number of elements */
18, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixCntrl_invlist[] = {
+static UV PosixCntrl_invlist[] = {
4, /* Number of elements */
4, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV XPosixCntrl_invlist[] = {
+static UV XPosixCntrl_invlist[] = {
4, /* Number of elements */
4, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixDigit_invlist[] = {
+static UV PosixDigit_invlist[] = {
2, /* Number of elements */
2, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixGraph_invlist[] = {
+static UV PosixGraph_invlist[] = {
2, /* Number of elements */
2, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1PosixGraph_invlist[] = {
+static UV L1PosixGraph_invlist[] = {
4, /* Number of elements */
4, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixLower_invlist[] = {
+static UV PosixLower_invlist[] = {
2, /* Number of elements */
2, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1PosixLower_invlist[] = {
+static UV L1PosixLower_invlist[] = {
12, /* Number of elements */
12, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixPrint_invlist[] = {
+static UV PosixPrint_invlist[] = {
2, /* Number of elements */
2, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1PosixPrint_invlist[] = {
+static UV L1PosixPrint_invlist[] = {
4, /* Number of elements */
4, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixPunct_invlist[] = {
+static UV PosixPunct_invlist[] = {
8, /* Number of elements */
8, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1PosixPunct_invlist[] = {
+static UV L1PosixPunct_invlist[] = {
20, /* Number of elements */
20, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixSpace_invlist[] = {
+static UV PosixSpace_invlist[] = {
4, /* Number of elements */
4, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV XPosixSpace_invlist[] = {
+static UV XPosixSpace_invlist[] = {
22, /* Number of elements */
22, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixUpper_invlist[] = {
+static UV PosixUpper_invlist[] = {
2, /* Number of elements */
2, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1PosixUpper_invlist[] = {
+static UV L1PosixUpper_invlist[] = {
6, /* Number of elements */
6, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixWord_invlist[] = {
+static UV PosixWord_invlist[] = {
8, /* Number of elements */
8, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV L1PosixWord_invlist[] = {
+static UV L1PosixWord_invlist[] = {
20, /* Number of elements */
20, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV PosixXDigit_invlist[] = {
+static UV PosixXDigit_invlist[] = {
6, /* Number of elements */
6, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV XPosixXDigit_invlist[] = {
+static UV XPosixXDigit_invlist[] = {
12, /* Number of elements */
12, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV NonL1_Perl_Non_Final_Folds_invlist[] = {
+static UV NonL1_Perl_Non_Final_Folds_invlist[] = {
44, /* Number of elements */
44, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
-static const UV _Perl_Multi_Char_Folds_invlist[] = {
+static UV _Perl_Multi_Char_Folds_invlist[] = {
58, /* Number of elements */
58, /* Number of elements */
- 1826693541, /* Version and data structure type */
+ 1511554547, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
|NN const struct regnode *node|bool doinit \
|NULLOK SV **listsvp|NULLOK SV **altsvp
#ifdef PERL_IN_REGCOMP_C
|NN const struct regnode *node|bool doinit \
|NULLOK SV **listsvp|NULLOK SV **altsvp
#ifdef PERL_IN_REGCOMP_C
-EMsR |SV* |_new_invlist_C_array|NN const UV* const list
+EMsR |SV* |_new_invlist_C_array|NN UV* list
: Not used currently: EXMs |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
#endif
Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
: Not used currently: EXMs |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
#endif
Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
* in the range 2**31-1 should be generated. Then, if an auxiliary program
* doesn't change correspondingly, it will be discovered immediately */
#define INVLIST_VERSION_ID_OFFSET 1
* in the range 2**31-1 should be generated. Then, if an auxiliary program
* doesn't change correspondingly, it will be discovered immediately */
#define INVLIST_VERSION_ID_OFFSET 1
-#define INVLIST_VERSION_ID 1826693541
+#define INVLIST_VERSION_ID 1511554547
#define INVLIST_OFFSET_OFFSET 2 /* 0 or 1 */
/* The UV at this position contains either 0 or 1. If 0, the inversion list
#define INVLIST_OFFSET_OFFSET 2 /* 0 or 1 */
/* The UV at this position contains either 0 or 1. If 0, the inversion list
#define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
assert(invlist)
#define PERL_ARGS_ASSERT__INVLIST_ARRAY_INIT \
assert(invlist)
-STATIC SV* S__new_invlist_C_array(pTHX_ const UV* const list)
+STATIC SV* S__new_invlist_C_array(pTHX_ UV* list)
__attribute__warn_unused_result__
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY \
__attribute__warn_unused_result__
__attribute__nonnull__(pTHX_1);
#define PERL_ARGS_ASSERT__NEW_INVLIST_C_ARRAY \
-S__new_invlist_C_array(pTHX_ const UV* const list)
+S__new_invlist_C_array(pTHX_ UV* list)
{
/* Return a pointer to a newly constructed inversion list, initialized to
* point to <list>, which has to be in the exact correct inversion list
{
/* Return a pointer to a newly constructed inversion list, initialized to
* point to <list>, which has to be in the exact correct inversion list
# in the headers is used to minimize the possibility of things getting
# out-of-sync, or the wrong data structure being passed. Currently that
# random number is:
# in the headers is used to minimize the possibility of things getting
# out-of-sync, or the wrong data structure being passed. Currently that
# random number is:
-my $VERSION_DATA_STRUCTURE_TYPE = 1826693541;
+my $VERSION_DATA_STRUCTURE_TYPE = 1511554547;
my $out_fh = open_new('charclass_invlists.h', '>',
{style => '*', by => $0,
my $out_fh = open_new('charclass_invlists.h', '>',
{style => '*', by => $0,
}
print $out_fh "\n#ifndef PERL_IN_XSUB_RE\n" unless exists $include_in_ext_re{$name};
}
print $out_fh "\n#ifndef PERL_IN_XSUB_RE\n" unless exists $include_in_ext_re{$name};
- print $out_fh "\nstatic const UV ${name}_invlist[] = {\n";
+ print $out_fh "\nstatic UV ${name}_invlist[] = {\n";
print $out_fh "\t$count,\t/* Number of elements */\n";
print $out_fh "\t$VERSION_DATA_STRUCTURE_TYPE, /* Version and data structure type */\n";
print $out_fh "\t$count,\t/* Number of elements */\n";
print $out_fh "\t$VERSION_DATA_STRUCTURE_TYPE, /* Version and data structure type */\n";