1 // $Id: case.cpp,v 1.10 2001/09/14 05:31:32 ericb Exp $
2 //
3 // This software is subject to the terms of the IBM Jikes Compiler
4 // License Agreement available at the following URL:
5 // http://ibm.com/developerworks/opensource/jikes.
6 // Copyright (C) 1996, 1998, 2000, 2001 International Business
7 // Machines Corporation and others.  All Rights Reserved.
8 // You must accept the terms of that agreement to use this software.
9 //
10 
11 #include "case.h"
12 
13 #ifdef HAVE_JIKES_NAMESPACE
14 namespace Jikes { // Open namespace Jikes block
15 #endif
16 
17 char Case::lower[128] =
18 {
19       0,   1,   2,   3,   4,   5,   6,   7,   8,   9,
20      10,  11,  12,  13,  14,  15,  16,  17,  18,  19,
21      20,  21,  22,  23,  24,  25,  26,  27,  28,  29,
22      30,  31,  32,  33,  34,  35,  36,  37,  38,  39,
23      40,  41,  42,  43,  44,  45,  46,  47,  48,  49,
24      50,  51,  52,  53,  54,  55,  56,  57,  58,  59,
25      60,  61,  62,  63,  64, U_a, U_b, U_c, U_d, U_e,
26     U_f, U_g, U_h, U_i, U_j, U_k, U_l, U_m, U_n, U_o,
27     U_p, U_q, U_r, U_s, U_t, U_u, U_v, U_w, U_x, U_y,
28     U_z,  91,  92,  93,  94,  95,  96, U_a, U_b, U_c,
29     U_d, U_e, U_f, U_g, U_h, U_i, U_j, U_k, U_l, U_m,
30     U_n, U_o, U_p, U_q, U_r, U_s, U_t, U_u, U_v, U_w,
31     U_x, U_y, U_z, 123, 124, 125, 126, 127
32 };
33 
34 char Case::upper[128] =
35 {
36       0,   1,   2,   3,   4,   5,   6,   7,   8,   9,
37      10,  11,  12,  13,  14,  15,  16,  17,  18,  19,
38      20,  21,  22,  23,  24,  25,  26,  27,  28,  29,
39      30,  31,  32,  33,  34,  35,  36,  37,  38,  39,
40      40,  41,  42,  43,  44,  45,  46,  47,  48,  49,
41      50,  51,  52,  53,  54,  55,  56,  57,  58,  59,
42      60,  61,  62,  63,  64, U_A, U_B, U_C, U_D, U_E,
43     U_F, U_G, U_H, U_I, U_J, U_K, U_L, U_M, U_N, U_O,
44     U_P, U_Q, U_R, U_S, U_T, U_U, U_V, U_W, U_X, U_Y,
45     U_Z,  91,  92,  93,  94,  95,  96, U_A, U_B, U_C,
46     U_D, U_E, U_F, U_G, U_H, U_I, U_J, U_K, U_L, U_M,
47     U_N, U_O, U_P, U_Q, U_R, U_S, U_T, U_U, U_V, U_W,
48     U_X, U_Y, U_Z, 123, 124, 125, 126, 127
49 };
50 
51 #ifdef HAVE_JIKES_NAMESPACE
52 } // Close namespace Jikes block
53 #endif
54 
55