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:55:46 $
|
|
|
34 |
$Revision: 1.1.1.1 $
|
|
|
35 |
$Log: diag_fns.h,v $
|
|
|
36 |
* Revision 1.1.1.1 1998/01/17 15:55:46 release
|
|
|
37 |
* First version to be checked into rolling release.
|
|
|
38 |
*
|
|
|
39 |
* Revision 1.7 1998/01/09 09:30:00 pwe
|
|
|
40 |
* prep restructure
|
|
|
41 |
*
|
|
|
42 |
* Revision 1.6 1997/11/06 09:17:53 pwe
|
|
|
43 |
* ANDF-DE V1.8
|
|
|
44 |
*
|
|
|
45 |
* Revision 1.5 1997/10/23 09:21:19 pwe
|
|
|
46 |
* ANDF-DE V1.7 and extra diags
|
|
|
47 |
*
|
|
|
48 |
* Revision 1.4 1997/08/23 13:27:03 pwe
|
|
|
49 |
* initial ANDF-DE
|
|
|
50 |
*
|
|
|
51 |
* Revision 1.3 1997/03/20 17:04:51 currie
|
|
|
52 |
* Dwarf2 diags
|
|
|
53 |
*
|
|
|
54 |
Revision 1.2 1997/02/18 12:55:51 currie
|
|
|
55 |
NEW DIAG STRUCTURE
|
|
|
56 |
|
|
|
57 |
* Revision 1.1 1995/04/06 10:42:55 currie
|
|
|
58 |
* Initial revision
|
|
|
59 |
*
|
|
|
60 |
***********************************************************************/
|
|
|
61 |
#ifndef diag_fns_key
|
|
|
62 |
#define diag_fns_key 1
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
extern void out_diagnose_prelude PROTO_S ((void));
|
|
|
68 |
extern void out_diagnose_postlude PROTO_S ((void));
|
|
|
69 |
|
|
|
70 |
extern void start_make_diagdef_unit PROTO_S ((int toks, int tags, int als, int ndiags));
|
|
|
71 |
extern void f_make_diagdef_unit PROTO_S ((void));
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
extern void init_capsule_diagtags PROTO_S ((void));
|
|
|
75 |
extern void start_make_diagtype_unit PROTO_S ((int toks, int tags, int als, int ndiagtype));
|
|
|
76 |
extern linkextern f_make_diagtagextern PROTO_S ((tdfint i, external e));
|
|
|
77 |
extern void init_unit_diagtags PROTO_S ((int n));
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
#ifdef NEWDIAGS
|
|
|
81 |
|
|
|
82 |
extern exp read_exp_to_source PROTO_S ((exp body));
|
|
|
83 |
extern exp read_diag_id_scope PROTO_S ((exp body));
|
|
|
84 |
extern exp read_diag_type_scope PROTO_S ((exp body));
|
|
|
85 |
extern exp read_diag_tag_scope PROTO_S ((exp body));
|
|
|
86 |
|
|
|
87 |
#else
|
|
|
88 |
|
|
|
89 |
extern diag_info * read_exp_to_source PROTO_S ((void));
|
|
|
90 |
extern diag_info * read_diag_id_scope PROTO_S ((void));
|
|
|
91 |
extern diag_info * read_diag_type_scope PROTO_S ((void));
|
|
|
92 |
extern diag_info * read_diag_tag_scope PROTO_S ((void));
|
|
|
93 |
|
|
|
94 |
#endif
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
#ifndef NEWDIAGS
|
|
|
98 |
|
|
|
99 |
extern void output_diag PROTO_S ((diag_info * d, int proc_no, exp e));
|
|
|
100 |
extern void output_end_scope PROTO_S ((diag_info * d, exp e));
|
|
|
101 |
|
|
|
102 |
extern void diag_proc_begin PROTO_S ((diag_global * d, int global, int cname, char * pname));
|
|
|
103 |
extern void diag_proc_end PROTO_S ((diag_global * d));
|
|
|
104 |
|
|
|
105 |
extern void diag_val_begin PROTO_S ((diag_global * d, int global, int cname, char * pname));
|
|
|
106 |
extern void diag_val_end PROTO_S ((diag_global * d));
|
|
|
107 |
|
|
|
108 |
#endif
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
extern int unit_no_of_diagtags;
|
|
|
112 |
extern diag_tagdef ** unit_ind_diagtags;
|
|
|
113 |
|
|
|
114 |
extern void f_make_diagtaglink PROTO_S ((tdfint i, tdfint ext));
|
|
|
115 |
|
|
|
116 |
#ifdef NEWDIAGS
|
|
|
117 |
extern exp diag_locate PROTO_S ((exp e));
|
|
|
118 |
#endif
|
|
|
119 |
|
|
|
120 |
#endif
|