/*************************************************************************
*  PDSS (PIMOS Development Support System)  Version 2.52		 *
*  (C) Copyright 1988,1989,1990,1992.					 *
*  Institute for New Generation Computer Technology (ICOT), Japan.	 *
*  Read "../COPYRIGHT" for detailed information.			 *
*************************************************************************/

#include "ctype.h"

unsigned short ctype_table[256] = {

/* 00 nul */	0		+ 0xFF,
/* 01 soh */	BLANK		+ 0xFF,
/* 02 stx */	BLANK		+ 0xFF,
/* 03 etx */	BLANK		+ 0xFF,
/* 04 eot */	BLANK		+ 0xFF,
/* 05 enq */	BLANK		+ 0xFF,
/* 06 ack */	BLANK		+ 0xFF,
/* 07 bel */	BLANK		+ 0xFF,

/* 08 bs  */	BLANK		+ 0xFF,
/* 09 ht  */	BLANK		+ 0xFF,
/* 0A nl  */	BLANK		+ 0xFF,
/* 0B vt  */	BLANK		+ 0xFF,
/* 0C np  */	BLANK		+ 0xFF,
/* 0D cr  */	BLANK		+ 0xFF,
/* 0E so  */	BLANK		+ 0xFF,
/* 0F si  */	BLANK		+ 0xFF,

/* 10 dle */	BLANK		+ 0xFF,
/* 11 dc1 */	BLANK		+ 0xFF,
/* 12 dc2 */	BLANK		+ 0xFF,
/* 13 dc3 */	BLANK		+ 0xFF,
/* 14 dc4 */	BLANK		+ 0xFF,
/* 15 nak */	BLANK		+ 0xFF,
/* 16 syn */	BLANK		+ 0xFF,
/* 17 etb */	BLANK		+ 0xFF,

/* 18 can */	BLANK		+ 0xFF,
/* 19 em  */	BLANK		+ 0xFF,
/* 1A sub */	BLANK		+ 0xFF,
/* 1B esc */	BLANK		+ 0xFF,
/* 1C fs  */	BLANK		+ 0xFF,
/* 1D gs  */	BLANK		+ 0xFF,
/* 1E rs  */	BLANK		+ 0xFF,
/* 1F us  */	BLANK		+ 0xFF,

/* 20 sp  */	BLANK		+ 0xFF,
/* 21  !  */	SPECIAL		+ 0xFF,
/* 22 '"' */	SPECIAL		+ 0xFF,
/* 23  #  */	SYMBOL		+ 0xFF,
/* 24  $  */	SYMBOL		+ 0xFF,
/* 25  %  */	SPECIAL		+ 0xFF,
/* 26  &  */	SYMBOL		+ 0xFF,
/* 27 "'" */	SPECIAL		+ 0xFF,

/* 28  (  */	SPECIAL		+ 0xFF,
/* 29  )  */	SPECIAL		+ 0xFF,
/* 2A  *  */	SYMBOL		+ 0xFF,
/* 2B  +  */	SYMBOL		+ 0xFF,
/* 2C  ,  */	SPECIAL		+ 0xFF,
/* 2D  -  */	SYMBOL		+ 0xFF,
/* 2E  .  */	SYMBOL		+ 0xFF,
/* 2F  /  */	SYMBOL		+ 0xFF,
		
/* 30  0  */	DIGIT		+    0,
/* 31  1  */	DIGIT		+    1,
/* 32  2  */	DIGIT		+    2,
/* 33  3  */	DIGIT		+    3,
/* 34  4  */	DIGIT		+    4,
/* 35  5  */	DIGIT		+    5,
/* 36  6  */	DIGIT		+    6,
/* 37  7  */	DIGIT		+    7,

/* 38  8  */	DIGIT		+    8,
/* 39  9  */	DIGIT		+    9,
/* 3A  :  */	SYMBOL		+ 0xFF,
/* 3B  ;  */	SYMBOL		+ 0xFF,
/* 3C  <  */	SYMBOL		+ 0xFF,
/* 3D  =  */	SYMBOL		+ 0xFF,
/* 3E  >  */	SYMBOL		+ 0xFF,
/* 3F  ?  */	SYMBOL		+ 0xFF,

/* 40  @  */	SYMBOL		+ 0xFF,
/* 41  A  */	UPPER_CASE	+   10,
/* 42  B  */	UPPER_CASE	+   11,
/* 43  C  */	UPPER_CASE	+   12,
/* 44  D  */	UPPER_CASE	+   13,
/* 45  E  */	UPPER_CASE	+   14,
/* 46  F  */	UPPER_CASE	+   15,
/* 47  G  */	UPPER_CASE	+   16,

/* 48  H  */	UPPER_CASE	+   17,
/* 49  I  */	UPPER_CASE	+   18,
/* 4A  J  */	UPPER_CASE	+   19,
/* 4B  K  */	UPPER_CASE	+   20,
/* 4C  L  */	UPPER_CASE	+   21,
/* 4D  M  */	UPPER_CASE	+   22,
/* 4E  N  */	UPPER_CASE	+   23,
/* 4F  O  */	UPPER_CASE	+   24,

/* 50  P  */	UPPER_CASE	+   25,
/* 51  Q  */	UPPER_CASE	+   26,
/* 52  R  */	UPPER_CASE	+   27,
/* 53  S  */	UPPER_CASE	+   28,
/* 54  T  */	UPPER_CASE	+   29,
/* 55  U  */	UPPER_CASE	+   30,
/* 56  V  */	UPPER_CASE	+   31,
/* 57  W  */	UPPER_CASE	+   32,

/* 58  X  */	UPPER_CASE	+   33,
/* 59  Y  */	UPPER_CASE	+   34,
/* 5A  Z  */	UPPER_CASE	+   35,
/* 5B  [  */	SPECIAL		+ 0xFF,
/* 5C  \  */	SYMBOL		+ 0xFF,
/* 5D  ]  */	SPECIAL		+ 0xFF,
/* 5E  ^  */	SYMBOL		+ 0xFF,
/* 5F  _  */	UPPER_CASE	+ 0xFF,

/* 60  `  */	SYMBOL		+ 0xFF,
/* 61  a  */	LOWER_CASE	+   10,
/* 62  b  */	LOWER_CASE	+   11,
/* 63  c  */	LOWER_CASE	+   12,
/* 64  d  */	LOWER_CASE	+   13,
/* 65  e  */	LOWER_CASE	+   14,
/* 66  f  */	LOWER_CASE	+   15,
/* 67  g  */	LOWER_CASE	+   16,

/* 68  h  */	LOWER_CASE	+   17,
/* 69  i  */	LOWER_CASE	+   18,
/* 6A  j  */	LOWER_CASE	+   19,
/* 6B  k  */	LOWER_CASE	+   20,
/* 6C  l  */	LOWER_CASE	+   21,
/* 6D  m  */	LOWER_CASE	+   22,
/* 6E  n  */	LOWER_CASE	+   23,
/* 6F  o  */	LOWER_CASE	+   24,

/* 70  p  */	LOWER_CASE	+   25,
/* 71  q  */	LOWER_CASE	+   26,
/* 72  r  */	LOWER_CASE	+   27,
/* 73  s  */	LOWER_CASE	+   28,
/* 74  t  */	LOWER_CASE	+   29,
/* 75  u  */	LOWER_CASE	+   30,
/* 76  v  */	LOWER_CASE	+   31,
/* 77  w  */	LOWER_CASE	+   32,

/* 78  x  */	LOWER_CASE	+   33,
/* 79  y  */	LOWER_CASE	+   34,
/* 7A  z  */	LOWER_CASE	+   35,
/* 7B  {  */	SPECIAL		+ 0xFF,
/* 7C  |  */	SPECIAL		+ 0xFF,
/* 7D  }  */	SPECIAL		+ 0xFF,
/* 7E  ~  */	SYMBOL		+ 0xFF,
/* 7F del */	BLANK		+ 0xFF,

/* 80	  */	BLANK		+ 0xFF,
/* 81	  */	BLANK		+ 0xFF,
/* 82	  */	BLANK		+ 0xFF,
/* 83	  */	BLANK		+ 0xFF,
/* 84	  */	BLANK		+ 0xFF,
/* 85	  */	BLANK		+ 0xFF,
/* 86	  */	BLANK		+ 0xFF,
/* 87	  */	BLANK		+ 0xFF,

/* 88	  */	BLANK		+ 0xFF,
/* 89	  */	BLANK		+ 0xFF,
/* 8A	  */	BLANK		+ 0xFF,
/* 8B	  */	BLANK		+ 0xFF,
/* 8C	  */	BLANK		+ 0xFF,
/* 8D	  */	BLANK		+ 0xFF,
/* 8E	  */	BLANK		+ 0xFF,
/* 8F	  */	BLANK		+ 0xFF,

/* 90	  */	BLANK		+ 0xFF,
/* 91	  */	BLANK		+ 0xFF,
/* 92	  */	BLANK		+ 0xFF,
/* 93	  */	BLANK		+ 0xFF,
/* 94	  */	BLANK		+ 0xFF,
/* 95	  */	BLANK		+ 0xFF,
/* 96	  */	BLANK		+ 0xFF,
/* 97	  */	BLANK		+ 0xFF,

/* 98	  */	BLANK		+ 0xFF,
/* 99	  */	BLANK		+ 0xFF,
/* 9A	  */	BLANK		+ 0xFF,
/* 9B	  */	BLANK		+ 0xFF,
/* 9C	  */	BLANK		+ 0xFF,
/* 9D	  */	BLANK		+ 0xFF,
/* 9E	  */	BLANK		+ 0xFF,
/* 9F	  */	BLANK		+ 0xFF,

/* A0	  */	BLANK		+ 0xFF,
/* A1 kan */	LOWER_CASE	+ 0xFF,
/* A2 kan */	LOWER_CASE	+ 0xFF,
/* A3 kan */	LOWER_CASE	+ 0xFF,
/* A4 kan */	LOWER_CASE	+ 0xFF,
/* A5 kan */	LOWER_CASE	+ 0xFF,
/* A6 kan */	LOWER_CASE	+ 0xFF,
/* A7 kan */	LOWER_CASE	+ 0xFF,

/* A8 kan */	LOWER_CASE	+ 0xFF,
/* A9 kan */	LOWER_CASE	+ 0xFF,
/* AA kan */	LOWER_CASE	+ 0xFF,
/* AB kan */	LOWER_CASE	+ 0xFF,
/* AC kan */	LOWER_CASE	+ 0xFF,
/* AD kan */	LOWER_CASE	+ 0xFF,
/* AE kan */	LOWER_CASE	+ 0xFF,
/* AF kan */	LOWER_CASE	+ 0xFF,

/* B0 kan */	LOWER_CASE	+ 0xFF,
/* B1 kan */	LOWER_CASE	+ 0xFF,
/* B2 kan */	LOWER_CASE	+ 0xFF,
/* B3 kan */	LOWER_CASE	+ 0xFF,
/* B4 kan */	LOWER_CASE	+ 0xFF,
/* B5 kan */	LOWER_CASE	+ 0xFF,
/* B6 kan */	LOWER_CASE	+ 0xFF,
/* B7 kan */	LOWER_CASE	+ 0xFF,

/* B8 kan */	LOWER_CASE	+ 0xFF,
/* B9 kan */	LOWER_CASE	+ 0xFF,
/* BA kan */	LOWER_CASE	+ 0xFF,
/* BB kan */	LOWER_CASE	+ 0xFF,
/* BC kan */	LOWER_CASE	+ 0xFF,
/* BD kan */	LOWER_CASE	+ 0xFF,
/* BE kan */	LOWER_CASE	+ 0xFF,
/* BF kan */	LOWER_CASE	+ 0xFF,

/* C0 kan */	LOWER_CASE	+ 0xFF,
/* C1 kan */	LOWER_CASE	+ 0xFF,
/* C2 kan */	LOWER_CASE	+ 0xFF,
/* C3 kan */	LOWER_CASE	+ 0xFF,
/* C4 kan */	LOWER_CASE	+ 0xFF,
/* C5 kan */	LOWER_CASE	+ 0xFF,
/* C6 kan */	LOWER_CASE	+ 0xFF,
/* C7 kan */	LOWER_CASE	+ 0xFF,

/* C8 kan */	LOWER_CASE	+ 0xFF,
/* C9 kan */	LOWER_CASE	+ 0xFF,
/* CA kan */	LOWER_CASE	+ 0xFF,
/* CB kan */	LOWER_CASE	+ 0xFF,
/* CC kan */	LOWER_CASE	+ 0xFF,
/* CD kan */	LOWER_CASE	+ 0xFF,
/* CE kan */	LOWER_CASE	+ 0xFF,
/* CF kan */	LOWER_CASE	+ 0xFF,

/* D0 kan */	LOWER_CASE	+ 0xFF,
/* D1 kan */	LOWER_CASE	+ 0xFF,
/* D2 kan */	LOWER_CASE	+ 0xFF,
/* D3 kan */	LOWER_CASE	+ 0xFF,
/* D4 kan */	LOWER_CASE	+ 0xFF,
/* D5 kan */	LOWER_CASE	+ 0xFF,
/* D6 kan */	LOWER_CASE	+ 0xFF,
/* D7 kan */	LOWER_CASE	+ 0xFF,

/* D8 kan */	LOWER_CASE	+ 0xFF,
/* D9 kan */	LOWER_CASE	+ 0xFF,
/* DA kan */	LOWER_CASE	+ 0xFF,
/* DB kan */	LOWER_CASE	+ 0xFF,
/* DC kan */	LOWER_CASE	+ 0xFF,
/* DD kan */	LOWER_CASE	+ 0xFF,
/* DE kan */	LOWER_CASE	+ 0xFF,
/* DF kan */	LOWER_CASE	+ 0xFF,

/* E0 kan */	LOWER_CASE	+ 0xFF,
/* E1 kan */	LOWER_CASE	+ 0xFF,
/* E2 kan */	LOWER_CASE	+ 0xFF,
/* E3 kan */	LOWER_CASE	+ 0xFF,
/* E4 kan */	LOWER_CASE	+ 0xFF,
/* E5 kan */	LOWER_CASE	+ 0xFF,
/* E6 kan */	LOWER_CASE	+ 0xFF,
/* E7 kan */	LOWER_CASE	+ 0xFF,

/* E8 kan */	LOWER_CASE	+ 0xFF,
/* E9 kan */	LOWER_CASE	+ 0xFF,
/* EA kan */	LOWER_CASE	+ 0xFF,
/* EB kan */	LOWER_CASE	+ 0xFF,
/* EC kan */	LOWER_CASE	+ 0xFF,
/* ED kan */	LOWER_CASE	+ 0xFF,
/* EE kan */	LOWER_CASE	+ 0xFF,
/* EF kan */	LOWER_CASE	+ 0xFF,

/* F0 kan */	LOWER_CASE	+ 0xFF,
/* F1 kan */	LOWER_CASE	+ 0xFF,
/* F2 kan */	LOWER_CASE	+ 0xFF,
/* F3 kan */	LOWER_CASE	+ 0xFF,
/* F4 kan */	LOWER_CASE	+ 0xFF,
/* F5 kan */	LOWER_CASE	+ 0xFF,
/* F6 kan */	LOWER_CASE	+ 0xFF,
/* F7 kan */	LOWER_CASE	+ 0xFF,

/* F8 kan */	LOWER_CASE	+ 0xFF,
/* F9 kan */	LOWER_CASE	+ 0xFF,
/* FA kan */	LOWER_CASE	+ 0xFF,
/* FB kan */	LOWER_CASE	+ 0xFF,
/* FC kan */	LOWER_CASE	+ 0xFF,
/* FD kan */	LOWER_CASE	+ 0xFF,
/* FE kan */	LOWER_CASE	+ 0xFF,
/* FF	  */	BLANK		+ 0xFF

};
