In perl.git, the branch khw/ebcdic has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/9de577173f550ad7d43ed771ba9e8c76e0b68aa6?hp=1f2073062df9a3635977b2ea43af95570bc06f29>

- Log -----------------------------------------------------------------
commit 9de577173f550ad7d43ed771ba9e8c76e0b68aa6
Author: Karl Williamson <[email protected]>
Date:   Tue Apr 9 08:40:13 2013 -0600

    XXX rebase
-----------------------------------------------------------------------

Summary of changes:
 toke.c      |    3 +--
 utfebcdic.h |   32 ++++++++++++++++----------------
 2 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/toke.c b/toke.c
index 74debd5..2c6a266 100644
--- a/toke.c
+++ b/toke.c
@@ -5150,8 +5150,7 @@ Perl_yylex(pTHX)
             * check if it in fact is. */
            if (bof && PL_rsfp &&
                     (*s == 0 ||
-                      /* XXX */
-                     *(U8*)s == 0xEF ||
+                     *(U8*)s == BOM_UTF8_FIRST_BYTE ||
                      *(U8*)s >= 0xFE ||
                      s[1] == 0)) {
                Off_t offset = (IV)PerlIO_tell(PL_rsfp);
diff --git a/utfebcdic.h b/utfebcdic.h
index 20ad5b7..c28062f 100644
--- a/utfebcdic.h
+++ b/utfebcdic.h
@@ -355,22 +355,22 @@ EXTCONST  U8 PL_mod_latin1_uc[] = {  /* uppercasing */
 EXTCONST U8 PL_fold_latin1[] = { /* fast EBCDIC case folding table,
                                                'A' => 'a'; 'a' => 'A'; full
                                                0-255 range */
-       0,      1,      2,      3,      4,      5,      6,      7, 8,   9,      
10,     11,     12,     13,     14,     15,
-       16,     17,     18,     19,     20,     21,     22,     23, 24, 25,     
26,     27,     28,     29,     30,     31,
-       32,     33,     34,     35,     36,     37,     38,     39, 40, 41,     
42,     43,     44,     45,     46,     47,
-       48,     49,     50,     51,     52,     53,     54,     55, 56, 57,     
58,     59,     60,     61,     62,     63,
-       64,     65,     98,     99,     100,    101,    102,    103, 104,       
105,    74,     75,     76,     77,     78,     79,
-       80,     113,    114,    115,    116,    117,    118,    119, 120,       
89,     90,     91,     92,     93,     94,     95,
-       96,     97,     66,     67,     68,     69,     70,     71, 72, 73,     
106,    107,    108,    109,    110,    111,
-       128,    81,     82,     83,     84,     85,     86,     87, 88, 121,    
122,    123,    124,    125,    126,    127,
-       112,    'A',    'B',    'C',    'D',    'E',    'F',    'G', 'H',       
'I',    138,    139,    172,    186,    174,    143,
-       144,    'J',    'K',    'L',    'M',    'N',    'O',    'P', 'Q',       
'R',    154,    155,    158,    157,    156,    159,
-       160,    161,    'S',    'T',    'U',    'V',    'W',    'X', 'Y',       
'Z',    170,    171,    140,    173,    142,    175,
-       176,    177,    178,    179,    180,    181,    182,    183, 184,       
185,    141,    187,    188,    189,    190,    191,
-       192,    'a',    'b',    'c',    'd',    'e',    'f',    'g', 'h',       
'i',    202,    235,    236,    237,    238,    239,
-       208,    'j',    'k',    'l',    'm',    'n',    'o',    'p', 'q',       
'r',    218,    251,    252,    253,    254,    223,
-       224,    225,    's',    't',    'u',    'v',    'w',    'x', 'y',       
'z',    234,    203,    204,    205,    206,    207,
-       240,    241,    242,    243,    244,    245,    246,    247, 248,       
249,    250,    219,    220,    221,    222,    255
+0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
+16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
+32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
+48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
+64, 65, 98, 99, 100, 101, 102, 103, 104, 105, 74, 75, 76, 77, 78, 79,
+80, 113, 114, 115, 116, 117, 118, 119, 120, 89, 90, 91, 92, 93, 94, 95,
+96, 97, 66, 67, 68, 69, 70, 71, 72, 73, 106, 107, 108, 109, 110, 111,
+128, 81, 82, 83, 84, 85, 86, 87, 88, 121, 122, 123, 124, 125, 126, 127,
+112, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 138, 139, 172, 186, 174, 143,
+144, 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 154, 155, 158, 157, 156, 159,
+160, 161, 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 170, 171, 140, 173, 142, 175,
+176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 141, 187, 188, 189, 190, 191,
+192, 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 202, 235, 236, 237, 238, 239,
+208, 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 218, 251, 252, 253, 254, 223,
+224, 225, 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 234, 203, 204, 205, 206, 207,
+240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 219, 220, 221, 222, 255
 };
 #endif /* 1047 */
 

--
Perl5 Master Repository

Reply via email to