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 |
#ifndef CATALOG_INCLUDED
|
|
|
32 |
#define CATALOG_INCLUDED
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
/*
|
|
|
36 |
ERROR CATALOGUE
|
|
|
37 |
|
|
|
38 |
The macros and types defined in this module describe the error catalogue.
|
|
|
39 |
Note that the main component of the catalogue is in the automatically
|
|
|
40 |
generated file errors1.h.
|
|
|
41 |
*/
|
|
|
42 |
|
|
|
43 |
#define ERR_GEN make_error
|
|
|
44 |
#define ERR_CONST CONST
|
|
|
45 |
|
|
|
46 |
typedef DECL_SPEC ACCESS ;
|
|
|
47 |
typedef IDENTIFIER LONG_ID ;
|
|
|
48 |
typedef int LEX ;
|
|
|
49 |
typedef PTR ( LOCATION ) PTR_LOC ;
|
|
|
50 |
typedef int cint ;
|
|
|
51 |
typedef CONST char *cstring ;
|
|
|
52 |
typedef unsigned long ucint ;
|
|
|
53 |
typedef unsigned plural ;
|
|
|
54 |
|
|
|
55 |
#if c_class_SPECIFICATION
|
|
|
56 |
#define ERR_CHECK 1
|
|
|
57 |
#endif
|
|
|
58 |
|
|
|
59 |
#ifndef ERR_HEADER_OFF
|
|
|
60 |
#include "errors1.h"
|
|
|
61 |
#endif
|
|
|
62 |
|
|
|
63 |
extern void set_error_sev PROTO_S ( ( int, int ) ) ;
|
|
|
64 |
extern int find_error_no PROTO_S ( ( STRING, int ) ) ;
|
|
|
65 |
extern void init_catalog PROTO_S ( ( void ) ) ;
|
|
|
66 |
extern void term_catalog PROTO_S ( ( void ) ) ;
|
|
|
67 |
extern string find_vocab PROTO_S ( ( int ) ) ;
|
|
|
68 |
extern unsigned catalog_size ;
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
#endif
|