G:/ScriptBasic/source/extensions/re/cname.h

Go to the documentation of this file.
00001 /*-
00002  * Copyright (c) 1992, 1993, 1994 Henry Spencer.
00003  * Copyright (c) 1992, 1993, 1994
00004  *      The Regents of the University of California.  All rights reserved.
00005  *
00006  * This code is derived from software contributed to Berkeley by
00007  * Henry Spencer.
00008  *
00009  * Redistribution and use in source and binary forms, with or without
00010  * modification, are permitted provided that the following conditions
00011  * are met:
00012  * 1. Redistributions of source code must retain the above copyright
00013  *    notice, this list of conditions and the following disclaimer.
00014  * 2. Redistributions in binary form must reproduce the above copyright
00015  *    notice, this list of conditions and the following disclaimer in the
00016  *    documentation and/or other materials provided with the distribution.
00017  * 3. All advertising materials mentioning features or use of this software
00018  *    must display the following acknowledgement:
00019  *      This product includes software developed by the University of
00020  *      California, Berkeley and its contributors.
00021  * 4. Neither the name of the University nor the names of its contributors
00022  *    may be used to endorse or promote products derived from this software
00023  *    without specific prior written permission.
00024  *
00025  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
00026  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00027  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00028  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
00029  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00030  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
00031  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
00032  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00033  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
00034  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
00035  * SUCH DAMAGE.
00036  *
00037  *      @(#)cname.h     8.3 (Berkeley) 3/20/94
00038  */
00039 
00040 /* character-name table */
00041 static struct cname {
00042         char *name;
00043         char code;
00044 } cnames[] = {
00045         "NUL",  '\0',
00046         "SOH",  '\001',
00047         "STX",  '\002',
00048         "ETX",  '\003',
00049         "EOT",  '\004',
00050         "ENQ",  '\005',
00051         "ACK",  '\006',
00052         "BEL",  '\007',
00053         "alert",        '\007',
00054         "BS",           '\010',
00055         "backspace",    '\b',
00056         "HT",           '\011',
00057         "tab",          '\t',
00058         "LF",           '\012',
00059         "newline",      '\n',
00060         "VT",           '\013',
00061         "vertical-tab", '\v',
00062         "FF",           '\014',
00063         "form-feed",    '\f',
00064         "CR",           '\015',
00065         "carriage-return",      '\r',
00066         "SO",   '\016',
00067         "SI",   '\017',
00068         "DLE",  '\020',
00069         "DC1",  '\021',
00070         "DC2",  '\022',
00071         "DC3",  '\023',
00072         "DC4",  '\024',
00073         "NAK",  '\025',
00074         "SYN",  '\026',
00075         "ETB",  '\027',
00076         "CAN",  '\030',
00077         "EM",   '\031',
00078         "SUB",  '\032',
00079         "ESC",  '\033',
00080         "IS4",  '\034',
00081         "FS",   '\034',
00082         "IS3",  '\035',
00083         "GS",   '\035',
00084         "IS2",  '\036',
00085         "RS",   '\036',
00086         "IS1",  '\037',
00087         "US",   '\037',
00088         "space",                ' ',
00089         "exclamation-mark",     '!',
00090         "quotation-mark",       '"',
00091         "number-sign",          '#',
00092         "dollar-sign",          '$',
00093         "percent-sign",         '%',
00094         "ampersand",            '&',
00095         "apostrophe",           '\'',
00096         "left-parenthesis",     '(',
00097         "right-parenthesis",    ')',
00098         "asterisk",     '*',
00099         "plus-sign",    '+',
00100         "comma",        ',',
00101         "hyphen",       '-',
00102         "hyphen-minus", '-',
00103         "period",       '.',
00104         "full-stop",    '.',
00105         "slash",        '/',
00106         "solidus",      '/',
00107         "zero",         '0',
00108         "one",          '1',
00109         "two",          '2',
00110         "three",        '3',
00111         "four",         '4',
00112         "five",         '5',
00113         "six",          '6',
00114         "seven",        '7',
00115         "eight",        '8',
00116         "nine",         '9',
00117         "colon",        ':',
00118         "semicolon",    ';',
00119         "less-than-sign",       '<',
00120         "equals-sign",          '=',
00121         "greater-than-sign",    '>',
00122         "question-mark",        '?',
00123         "commercial-at",        '@',
00124         "left-square-bracket",  '[',
00125         "backslash",            '\\',
00126         "reverse-solidus",      '\\',
00127         "right-square-bracket", ']',
00128         "circumflex",           '^',
00129         "circumflex-accent",    '^',
00130         "underscore",           '_',
00131         "low-line",             '_',
00132         "grave-accent",         '`',
00133         "left-brace",           '{',
00134         "left-curly-bracket",   '{',
00135         "vertical-line",        '|',
00136         "right-brace",          '}',
00137         "right-curly-bracket",  '}',
00138         "tilde",                '~',
00139         "DEL",  '\177',
00140         NULL,   0,
00141 };

Generated on Sun Mar 12 23:56:30 2006 for ScriptBasic by  doxygen 1.4.6-NO