2 |
7u83 |
1 |
/*
|
|
|
2 |
* Automatically generated from the files:
|
|
|
3 |
* /u/g/release/Source/src/utilities/lexi/syntax.sid
|
|
|
4 |
* and
|
|
|
5 |
* /u/g/release/Source/src/utilities/lexi/syntax.act
|
|
|
6 |
* by:
|
|
|
7 |
* sid
|
|
|
8 |
*/
|
|
|
9 |
|
|
|
10 |
/* BEGINNING OF HEADER */
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
/*
|
|
|
14 |
Crown Copyright (c) 1997
|
|
|
15 |
|
|
|
16 |
This TenDRA(r) Computer Program is subject to Copyright
|
|
|
17 |
owned by the United Kingdom Secretary of State for Defence
|
|
|
18 |
acting through the Defence Evaluation and Research Agency
|
|
|
19 |
(DERA). It is made available to Recipients with a
|
|
|
20 |
royalty-free licence for its use, reproduction, transfer
|
|
|
21 |
to other parties and amendment for any purpose not excluding
|
|
|
22 |
product development provided that any such use et cetera
|
|
|
23 |
shall be deemed to be acceptance of the following conditions:-
|
|
|
24 |
|
|
|
25 |
(1) Its Recipients shall ensure that this Notice is
|
|
|
26 |
reproduced upon any copies or amended versions of it;
|
|
|
27 |
|
|
|
28 |
(2) Any amended version of it shall be clearly marked to
|
|
|
29 |
show both the nature of and the organisation responsible
|
|
|
30 |
for the relevant amendment or amendments;
|
|
|
31 |
|
|
|
32 |
(3) Its onward transfer from a recipient to another
|
|
|
33 |
party shall be deemed to be that party's acceptance of
|
|
|
34 |
these conditions;
|
|
|
35 |
|
|
|
36 |
(4) DERA gives no warranty or assurance as to its
|
|
|
37 |
quality or suitability for any purpose and DERA accepts
|
|
|
38 |
no liability whatsoever in relation to any use to which
|
|
|
39 |
it may be put.
|
|
|
40 |
*/
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
#ifndef SYNTAX_INCLUDED
|
|
|
44 |
#define SYNTAX_INCLUDED
|
|
|
45 |
|
|
|
46 |
extern char *sid_prefix ;
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
/* BEGINNING OF FUNCTION DECLARATIONS */
|
|
|
50 |
|
|
|
51 |
extern void read_lex PROTO_S ((void));
|
|
|
52 |
|
|
|
53 |
/* BEGINNING OF TERMINAL DEFINITIONS */
|
|
|
54 |
|
|
|
55 |
#define lex_keyword (7)
|
|
|
56 |
#define lex_digit (5)
|
|
|
57 |
#define lex_unknown (22)
|
|
|
58 |
#define lex_close (14)
|
|
|
59 |
#define lex_sid_Hidentifier (1)
|
|
|
60 |
#define lex_string (2)
|
|
|
61 |
#define lex_equal (19)
|
|
|
62 |
#define lex_token (9)
|
|
|
63 |
#define lex_white (10)
|
|
|
64 |
#define lex_identifier (0)
|
|
|
65 |
#define lex_else (12)
|
|
|
66 |
#define lex_lower (4)
|
|
|
67 |
#define lex_arrow (17)
|
|
|
68 |
#define lex_upper (3)
|
|
|
69 |
#define lex_group (6)
|
|
|
70 |
#define lex_open (13)
|
|
|
71 |
#define lex_eof (18)
|
|
|
72 |
#define lex_plus (20)
|
|
|
73 |
#define lex_close_Hbrace (16)
|
|
|
74 |
#define lex_if (11)
|
|
|
75 |
#define lex_semicolon (21)
|
|
|
76 |
#define lex_open_Hbrace (15)
|
|
|
77 |
#define lex_mapping (8)
|
|
|
78 |
|
|
|
79 |
/* BEGINNING OF TRAILER */
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
#endif
|
|
|
83 |
|
|
|
84 |
/* END OF FILE */
|