~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to regex/cname.h

  • Committer: Brian Aker
  • Date: 2008-07-08 21:36:11 UTC
  • mfrom: (77.1.34 codestyle)
  • Revision ID: brian@tangent.org-20080708213611-b0k2zy8eldttqct3
Merging up Monty's changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* character-name table */
2
 
static struct cname {
3
 
  const char *name;
4
 
  const char code;
5
 
} cnames[] = {
6
 
        {"NUL",         '\0'},
7
 
        {"SOH",         '\001'},
8
 
        {"STX",         '\002'},
9
 
        {"ETX",         '\003'},
10
 
        {"EOT",         '\004'},
11
 
        {"ENQ",         '\005'},
12
 
        {"ACK",         '\006'},
13
 
        {"BEL",         '\007'},
14
 
        {"alert",       '\007'},
15
 
        {"BS",          '\010'},
16
 
        {"backspace",   '\b'},
17
 
        {"HT",          '\011'},
18
 
        {"tab",         '\t'},
19
 
        {"LF",          '\012'},
20
 
        {"newline",     '\n'},
21
 
        {"VT",          '\013'},
22
 
        {"vertical-tab",'\v'},
23
 
        {"FF",          '\014'},
24
 
        {"form-feed",   '\f'},
25
 
        {"CR",          '\015'},
26
 
        {"carriage-return",     '\r'},
27
 
        {"SO",                  '\016'},
28
 
        {"SI",                  '\017'},
29
 
        {"DLE",         '\020'},
30
 
        {"DC1",         '\021'},
31
 
        {"DC2",         '\022'},
32
 
        {"DC3",         '\023'},
33
 
        {"DC4",         '\024'},
34
 
        {"NAK",         '\025'},
35
 
        {"SYN",         '\026'},
36
 
        {"ETB",         '\027'},
37
 
        {"CAN",         '\030'},
38
 
        {"EM",          '\031'},
39
 
        {"SUB",         '\032'},
40
 
        {"ESC",         '\033'},
41
 
        {"IS4",         '\034'},
42
 
        {"FS",          '\034'},
43
 
        {"IS3",         '\035'},
44
 
        {"GS",          '\035'},
45
 
        {"IS2",         '\036'},
46
 
        {"RS",          '\036'},
47
 
        {"IS1",         '\037'},
48
 
        {"US",          '\037'},
49
 
        {"space",       ' '},
50
 
        {"exclamation-mark",    '!'},
51
 
        {"quotation-mark",      '"'},
52
 
        {"number-sign",         '#'},
53
 
        {"dollar-sign",         '$'},
54
 
        {"percent-sign",        '%'},
55
 
        {"ampersand",           '&'},
56
 
        {"apostrophe",          '\''},
57
 
        {"left-parenthesis",    '('},
58
 
        {"right-parenthesis",   ')'},
59
 
        {"asterisk",            '*'},
60
 
        {"plus-sign",           '+'},
61
 
        {"comma",               ','},
62
 
        {"hyphen",              '-'},
63
 
        {"hyphen-minus",        '-'},
64
 
        {"period",              '.'},
65
 
        {"full-stop",           '.'},
66
 
        {"slash",               '/'},
67
 
        {"solidus",             '/'},
68
 
        {"zero",                '0'},
69
 
        {"one",                 '1'},
70
 
        {"two",                 '2'},
71
 
        {"three",               '3'},
72
 
        {"four",                '4'},
73
 
        {"five",                '5'},
74
 
        {"six",                 '6'},
75
 
        {"seven",               '7'},
76
 
        {"eight",               '8'},
77
 
        {"nine",                '9'},
78
 
        {"colon",               ':'},
79
 
        {"semicolon",           ';'},
80
 
        {"less-than-sign",      '<'},
81
 
        {"equals-sign",         '='},
82
 
        {"greater-than-sign",   '>'},
83
 
        {"question-mark",       '?'},
84
 
        {"commercial-at",       '@'},
85
 
        {"left-square-bracket", '['},
86
 
        {"backslash",           '\\'},
87
 
        {"reverse-solidus",     '\\'},
88
 
        {"right-square-bracket",']'},
89
 
        {"circumflex",          '^'},
90
 
        {"circumflex-accent",   '^'},
91
 
        {"underscore",          '_'},
92
 
        {"low-line",            '_'},
93
 
        {"grave-accent",        '`'},
94
 
        {"left-brace",          '{'},
95
 
        {"left-curly-bracket",  '{'},
96
 
        {"vertical-line",       '|'},
97
 
        {"right-brace",         '}'},
98
 
        {"right-curly-bracket", '}'},
99
 
        {"tilde",               '~'},
100
 
        {"DEL",                 '\177'},
101
 
        {NULL,                  0},
102
 
};
103
 
 
104