summaryrefslogtreecommitdiff
path: root/charclass_invlists.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-02-13 16:41:44 -0700
committerKarl Williamson <public@khwilliamson.com>2013-07-03 19:21:18 -0600
commit241136e0ed70738cccd6c4b20ce12b26231f30e5 (patch)
treeeec035eb046ebd5bd4fc0b2a9af1a7146a750ffc /charclass_invlists.h
parentd913fb457b732da4c31d0d1b8c085989a7ecd12d (diff)
downloadperl-241136e0ed70738cccd6c4b20ce12b26231f30e5.tar.gz
regcomp.c: Make C-array inversion lists const
The inversion lists that are compiled into a C header are now const.
Diffstat (limited to 'charclass_invlists.h')
-rw-r--r--charclass_invlists.h136
1 files changed, 68 insertions, 68 deletions
diff --git a/charclass_invlists.h b/charclass_invlists.h
index 88ebe67640..19500e7a12 100644
--- a/charclass_invlists.h
+++ b/charclass_invlists.h
@@ -9,9 +9,9 @@
#ifndef PERL_IN_XSUB_RE
-static UV Latin1_invlist[] = {
+static const UV Latin1_invlist[] = {
2, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -22,9 +22,9 @@ static UV Latin1_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV AboveLatin1_invlist[] = {
+static const UV AboveLatin1_invlist[] = {
1, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -35,9 +35,9 @@ static UV AboveLatin1_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV ASCII_invlist[] = {
+static const UV ASCII_invlist[] = {
2, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -48,9 +48,9 @@ static UV ASCII_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1Cased_invlist[] = {
+static const UV L1Cased_invlist[] = {
16, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -76,9 +76,9 @@ static UV L1Cased_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV VertSpace_invlist[] = {
+static const UV VertSpace_invlist[] = {
6, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -94,9 +94,9 @@ static UV VertSpace_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PerlSpace_invlist[] = {
+static const UV PerlSpace_invlist[] = {
4, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -110,9 +110,9 @@ static UV PerlSpace_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV XPerlSpace_invlist[] = {
+static const UV XPerlSpace_invlist[] = {
22, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -144,9 +144,9 @@ static UV XPerlSpace_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixAlnum_invlist[] = {
+static const UV PosixAlnum_invlist[] = {
6, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -162,9 +162,9 @@ static UV PosixAlnum_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1PosixAlnum_invlist[] = {
+static const UV L1PosixAlnum_invlist[] = {
18, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -192,9 +192,9 @@ static UV L1PosixAlnum_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixAlpha_invlist[] = {
+static const UV PosixAlpha_invlist[] = {
4, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -208,9 +208,9 @@ static UV PosixAlpha_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1PosixAlpha_invlist[] = {
+static const UV L1PosixAlpha_invlist[] = {
16, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -236,9 +236,9 @@ static UV L1PosixAlpha_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixBlank_invlist[] = {
+static const UV PosixBlank_invlist[] = {
4, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -252,9 +252,9 @@ static UV PosixBlank_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV XPosixBlank_invlist[] = {
+static const UV XPosixBlank_invlist[] = {
18, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -282,9 +282,9 @@ static UV XPosixBlank_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixCntrl_invlist[] = {
+static const UV PosixCntrl_invlist[] = {
4, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -297,9 +297,9 @@ static UV PosixCntrl_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV XPosixCntrl_invlist[] = {
+static const UV XPosixCntrl_invlist[] = {
4, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
0, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -312,9 +312,9 @@ static UV XPosixCntrl_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixDigit_invlist[] = {
+static const UV PosixDigit_invlist[] = {
2, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -326,9 +326,9 @@ static UV PosixDigit_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixGraph_invlist[] = {
+static const UV PosixGraph_invlist[] = {
2, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -340,9 +340,9 @@ static UV PosixGraph_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1PosixGraph_invlist[] = {
+static const UV L1PosixGraph_invlist[] = {
4, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -356,9 +356,9 @@ static UV L1PosixGraph_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixLower_invlist[] = {
+static const UV PosixLower_invlist[] = {
2, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -370,9 +370,9 @@ static UV PosixLower_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1PosixLower_invlist[] = {
+static const UV L1PosixLower_invlist[] = {
12, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -394,9 +394,9 @@ static UV L1PosixLower_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixPrint_invlist[] = {
+static const UV PosixPrint_invlist[] = {
2, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -408,9 +408,9 @@ static UV PosixPrint_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1PosixPrint_invlist[] = {
+static const UV L1PosixPrint_invlist[] = {
4, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -424,9 +424,9 @@ static UV L1PosixPrint_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixPunct_invlist[] = {
+static const UV PosixPunct_invlist[] = {
8, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -444,9 +444,9 @@ static UV PosixPunct_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1PosixPunct_invlist[] = {
+static const UV L1PosixPunct_invlist[] = {
20, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -476,9 +476,9 @@ static UV L1PosixPunct_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixSpace_invlist[] = {
+static const UV PosixSpace_invlist[] = {
4, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -492,9 +492,9 @@ static UV PosixSpace_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV XPosixSpace_invlist[] = {
+static const UV XPosixSpace_invlist[] = {
22, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -526,9 +526,9 @@ static UV XPosixSpace_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixUpper_invlist[] = {
+static const UV PosixUpper_invlist[] = {
2, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -540,9 +540,9 @@ static UV PosixUpper_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1PosixUpper_invlist[] = {
+static const UV L1PosixUpper_invlist[] = {
6, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -558,9 +558,9 @@ static UV L1PosixUpper_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixWord_invlist[] = {
+static const UV PosixWord_invlist[] = {
8, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -578,9 +578,9 @@ static UV PosixWord_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV L1PosixWord_invlist[] = {
+static const UV L1PosixWord_invlist[] = {
20, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -610,9 +610,9 @@ static UV L1PosixWord_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV PosixXDigit_invlist[] = {
+static const UV PosixXDigit_invlist[] = {
6, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -628,9 +628,9 @@ static UV PosixXDigit_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV XPosixXDigit_invlist[] = {
+static const UV XPosixXDigit_invlist[] = {
12, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -650,9 +650,9 @@ static UV XPosixXDigit_invlist[] = {
#endif
-static UV NonL1_Perl_Non_Final_Folds_invlist[] = {
+static const UV NonL1_Perl_Non_Final_Folds_invlist[] = {
44, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,
@@ -704,9 +704,9 @@ static UV NonL1_Perl_Non_Final_Folds_invlist[] = {
#ifndef PERL_IN_XSUB_RE
-static UV _Perl_Multi_Char_Folds_invlist[] = {
+static const UV _Perl_Multi_Char_Folds_invlist[] = {
58, /* Number of elements */
- 1511554547, /* Version and data structure type */
+ 1826693541, /* Version and data structure type */
1, /* 0 if the list starts at 0;
1 if it starts at the element beyond 0 */
0,