home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Vectronix 2
/
VECTRONIX2.iso
/
FILES_01
/
X_PROLOG.LZH
/
X_PROLOG
/
SOURCES
/
CHARSET.H
< prev
next >
Wrap
Text File
|
1990-08-13
|
2KB
|
46 lines
/*
* X PROLOG Vers. 2.0
*
*
* Written by : Andreas Toenne
* CS Dept. , IRB
* University of Dortmund, W-Germany
* <at@unido.uucp>
* <....!seismo!unido!at>
* <at@unido.bitnet>
*
* Copyright : This software is copyrighted by Andreas Toenne.
* Permission is granted hereby to copy the entire
* package including this copyright notice without fee.
*
*/
/* character set for the parser */
short ctype[] = {
/* the first 32 characters are control character and should be blank */
BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK,
BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK,
BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK, BLANK,
BLANK, BLANK,
/* space, !, " # $ % & ' ( ) */
BLANK, SINGLE, STRING, SYMBOL, LOWER, SINGLE, SYMBOL, QUOTE, BRACKET, BRACKET,
/* * + , - . / 0 1 2 3 */
SYMBOL, SYMBOL, BRACKET, SYMBOL, SYMBOL, SYMBOL, DIGIT, DIGIT, DIGIT, DIGIT,
/* 4 5 6 7 8 9 : ; < = */
DIGIT, DIGIT, DIGIT, DIGIT, DIGIT, DIGIT, SYMBOL, SINGLE, SYMBOL, SYMBOL,
/* > ? @ A B C D E F G */
SYMBOL, SYMBOL, SYMBOL, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER,
/* H I J K L M N O P Q R */
UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER,
/* S T U V W X Y Z [ \ */
UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, UPPER, BRACKET, SYMBOL,
/* ] ^ _ ` a b c d e f */
BRACKET, SYMBOL, UPPER, SYMBOL, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER,
/*g h i j k l m n o p q */
LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER,
/*r s t u v w x y z { */
LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, LOWER, BRACKET,
/* | } ~ delete */
BRACKET, BRACKET, SYMBOL, BLANK };