2 |
7u83 |
1 |
/*
|
|
|
2 |
Crown Copyright (c) 1997
|
|
|
3 |
|
|
|
4 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
5 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
6 |
acting through the Defence Evaluation and Research Agency
|
|
|
7 |
(DERA). It is made available to Recipients with a
|
|
|
8 |
royalty-free licence for its use, reproduction, transfer
|
|
|
9 |
to other parties and amendment for any purpose not excluding
|
|
|
10 |
product development provided that any such use et cetera
|
|
|
11 |
shall be deemed to be acceptance of the following conditions:-
|
|
|
12 |
|
|
|
13 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
14 |
reproduced upon any copies or amended versions of it;
|
|
|
15 |
|
|
|
16 |
(2) Any amended version of it shall be clearly marked to
|
|
|
17 |
show both the nature of and the organisation responsible
|
|
|
18 |
for the relevant amendment or amendments;
|
|
|
19 |
|
|
|
20 |
(3) Its onward transfer from a recipient to another
|
|
|
21 |
party shall be deemed to be that party's acceptance of
|
|
|
22 |
these conditions;
|
|
|
23 |
|
|
|
24 |
(4) DERA gives no warranty or assurance as to its
|
|
|
25 |
quality or suitability for any purpose and DERA accepts
|
|
|
26 |
no liability whatsoever in relation to any use to which
|
|
|
27 |
it may be put.
|
|
|
28 |
*/
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
/**********************************************************************
|
|
|
32 |
$Author: release $
|
|
|
33 |
$Date: 1998/01/17 15:57:25 $
|
|
|
34 |
$Revision: 1.1.1.1 $
|
|
|
35 |
$Log: reserved.h,v $
|
|
|
36 |
* Revision 1.1.1.1 1998/01/17 15:57:25 release
|
|
|
37 |
* First version to be checked into rolling release.
|
|
|
38 |
*
|
|
|
39 |
* Revision 1.2 1995/08/15 16:14:35 currie
|
|
|
40 |
* for build 4.0
|
|
|
41 |
*
|
|
|
42 |
* Revision 1.1 1995/04/07 14:29:07 currie
|
|
|
43 |
* Initial revision
|
|
|
44 |
*
|
|
|
45 |
* Revision 1.1 1995/04/07 14:29:07 currie
|
|
|
46 |
* Initial revision
|
|
|
47 |
*
|
|
|
48 |
* Revision 1.2 1994/07/21 10:35:48 currie
|
|
|
49 |
* Added banner
|
|
|
50 |
*
|
|
|
51 |
***********************************************************************/
|
|
|
52 |
#define no_of_terminals 103
|
|
|
53 |
|
|
|
54 |
/* note that the table is sorted into alphabetical order */
|
|
|
55 |
static Terminals terminals[no_of_terminals] = {
|
|
|
56 |
{"!<", lex_relop},
|
|
|
57 |
{"!<=", lex_relop},
|
|
|
58 |
{"!=", lex_relop},
|
|
|
59 |
{"!>", lex_relop},
|
|
|
60 |
{"!>=", lex_relop},
|
|
|
61 |
{"!Comparable", lex_relop},
|
|
|
62 |
{"#", lex_hash},
|
|
|
63 |
{"%", lex_arithop},
|
|
|
64 |
{"%1", lex_arithop},
|
|
|
65 |
{"*", lex_star},
|
|
|
66 |
{"*+.", lex_addrop},
|
|
|
67 |
{"*-*", lex_addrop},
|
|
|
68 |
{"*?", lex_ptr__query},
|
|
|
69 |
{"+", lex_arithop},
|
|
|
70 |
{"-", lex_minus__term},
|
|
|
71 |
{"->", lex_goesto},
|
|
|
72 |
{".*", lex_addrop},
|
|
|
73 |
{".+.", lex_addrop},
|
|
|
74 |
{".-.", lex_addrop},
|
|
|
75 |
{"...", lex_dotdotdot},
|
|
|
76 |
{"./", lex_addrop},
|
|
|
77 |
{"./.", lex_addrop},
|
|
|
78 |
{".?", lex_offset__query},
|
|
|
79 |
{".max.", lex_addrop},
|
|
|
80 |
{"/", lex_arithop},
|
|
|
81 |
{"/1", lex_arithop},
|
|
|
82 |
{"<", lex_relop},
|
|
|
83 |
{"<<", lex_arithop},
|
|
|
84 |
{"<=", lex_relop},
|
|
|
85 |
{"==", lex_relop},
|
|
|
86 |
{">", lex_relop},
|
|
|
87 |
{">=", lex_relop},
|
|
|
88 |
{">>", lex_arithop},
|
|
|
89 |
{"ACCESS", lex_access__sort},
|
|
|
90 |
{"ALIGNMENT", lex_alignment__sort},
|
|
|
91 |
{"AL_TAG", lex_al__tag__sort},
|
|
|
92 |
{"Al_tagdef", lex_al__tagdef},
|
|
|
93 |
{"And", lex_logop},
|
|
|
94 |
{"BITFIELD_VARIETY", lex_bitfield__variety__sort},
|
|
|
95 |
{"BOOL", lex_bool__sort},
|
|
|
96 |
{"Base", lex_base},
|
|
|
97 |
{"Case", lex_case__term},
|
|
|
98 |
{"Char", lex_char__term},
|
|
|
99 |
{"Check_stack", lex_check__stack},
|
|
|
100 |
{"Common", lex_common__term},
|
|
|
101 |
{"Commondec", lex_commondec__term},
|
|
|
102 |
{"Comparable", lex_relop},
|
|
|
103 |
{"Cons", lex_cons},
|
|
|
104 |
{"Double", lex_double__term},
|
|
|
105 |
{"Dynamic", lex_dynamic},
|
|
|
106 |
{"E", lex_e__term},
|
|
|
107 |
{"ERROR_TREATMENT", lex_error__treatment__sort},
|
|
|
108 |
{"EXP", lex_exp__sort},
|
|
|
109 |
{"F*", lex_arithop},
|
|
|
110 |
{"F+", lex_arithop},
|
|
|
111 |
{"F-", lex_arithop},
|
|
|
112 |
{"F/", lex_arithop},
|
|
|
113 |
{"F?", lex_float__query},
|
|
|
114 |
{"FLOATING_VARIETY", lex_floating__variety__sort},
|
|
|
115 |
{"Float", lex_float__term},
|
|
|
116 |
{"General", lex_general},
|
|
|
117 |
{"Iddec", lex_iddec},
|
|
|
118 |
{"Int", lex_int__term},
|
|
|
119 |
{"Keep", lex_keep},
|
|
|
120 |
{"LABEL", lex_label__sort},
|
|
|
121 |
{"LINE", lex_line__term},
|
|
|
122 |
{"Labelled", lex_lab},
|
|
|
123 |
{"Let", lex_let},
|
|
|
124 |
{"Long", lex_long__term},
|
|
|
125 |
{"Mantissa", lex_mantissa},
|
|
|
126 |
{"Maxexp", lex_maxexp},
|
|
|
127 |
{"Minexp", lex_minexp},
|
|
|
128 |
{"NAT", lex_nat__sort},
|
|
|
129 |
{"NTEST", lex_ntest__sort},
|
|
|
130 |
{"Or", lex_logop},
|
|
|
131 |
{"P?", lex_proc__query},
|
|
|
132 |
{"Proc", lex_proc},
|
|
|
133 |
{"Ptr", lex_ptr},
|
|
|
134 |
{"ROUNDING_MODE", lex_rounding__mode__sort},
|
|
|
135 |
{"Rep", lex_rep},
|
|
|
136 |
{"SHAPE", lex_shape__sort},
|
|
|
137 |
{"SIGNED_NAT", lex_signed__nat__sort},
|
|
|
138 |
{"STRING", lex_string__sort},
|
|
|
139 |
{"Same", lex_same},
|
|
|
140 |
{"Short", lex_short__term},
|
|
|
141 |
{"Signed", lex_signed__term},
|
|
|
142 |
{"Sizeof", lex_size__term},
|
|
|
143 |
{"String", lex_string__term},
|
|
|
144 |
{"Struct", lex_struct__term},
|
|
|
145 |
{"TAG", lex_tag__sort},
|
|
|
146 |
{"TOKEN", lex_token__sort},
|
|
|
147 |
{"TRANSFER_MODE", lex_transfer__mode__sort},
|
|
|
148 |
{"Tail_call", lex_tail__call__term},
|
|
|
149 |
{"Tokdec", lex_tokdec},
|
|
|
150 |
{"Tokdef", lex_tokdef},
|
|
|
151 |
{"Unsigned", lex_unsigned__term},
|
|
|
152 |
{"Untidy", lex_untidy},
|
|
|
153 |
{"Use", lex_use},
|
|
|
154 |
{"VARIETY", lex_variety__sort},
|
|
|
155 |
{"Var", lex_var},
|
|
|
156 |
{"Vardec", lex_vardec},
|
|
|
157 |
{"Varpar", lex_varpar},
|
|
|
158 |
{"Xor", lex_logop}
|
|
|
159 |
};
|