Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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: diaginfo.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.5  1997/08/23  13:27:14  pwe
40
 * initial ANDF-DE
41
 *
42
 * Revision 1.4  1997/03/20  17:12:33  currie
43
 * small blunder
44
 *
45
Revision 1.3  1997/03/20 17:04:53  currie
46
Dwarf2 diags
47
 
48
Revision 1.2  1997/02/18 12:55:52  currie
49
NEW DIAG STRUCTURE
50
 
51
 * Revision 1.1  1995/04/06  10:42:55  currie
52
 * Initial revision
53
 *
54
***********************************************************************/
55
 
56
#ifndef NEWDIAGS
57
 
58
#ifndef diaginfo_key
59
#define diaginfo_key 1
60
 
61
 
62
 
63
typedef struct diag_info_t diag_info; /* let's break a type cycle */
64
 
65
#include "diagtypes1.h"	/* gets diag_descriptor */
66
 
67
#include "diag_config.h"
68
 
69
#else				/* been included at least once */
70
 
71
#ifdef diagtypes_key
72
 
73
#ifndef diaginfo_done_phase2
74
#define diaginfo_done_phase2
75
				/* phase 2  */
76
typedef enum
77
{
78
  DIAG_INFO_UNINIT,
79
  DIAG_INFO_SOURCE,
80
  DIAG_INFO_ID,
81
  DIAG_INFO_TYPE,
82
  DIAG_INFO_TAG
83
} diag_info_key;
84
 
85
struct diag_info_t 
86
{
87
  diag_info_key key;
88
  union
89
  {
90
    struct 
91
    {
92
      sourcemark beg;
93
      sourcemark end;
94
    } source;
95
    struct
96
    {
97
      tdfstring nme;
98
      exp access;
99
      diag_type typ;
100
    } id_scope;
101
    struct
102
    {
103
      tdfstring nme;
104
      diag_type typ;
105
    } type_scope;
106
    struct
107
    {
108
      tdfstring nme;
109
      diag_type typ;
110
    } tag_scope;
111
  } data ;
112
};
113
 
114
				/* end phase 2 */
115
#endif				/* done phase 2 */
116
#endif				/* diagtypes defined */
117
#endif
118
 
119
#endif