Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | 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
#ifndef CHECK_INCLUDED
32
#define CHECK_INCLUDED
33
 
34
 
35
/*
36
    TYPE REPRESENTING A NAME
37
 
38
    A name is represented by a name type plus up to three name components.
39
    Names may be formed into lists by means of the next field.
40
*/
41
 
42
typedef struct NAME_tag {
43
    int type ;
44
    char *text [3] ;
45
    CONST char *file ;
46
    int line ;
47
    struct NAME_tag *next ;
48
} NAME ;
49
 
50
 
51
/*
52
    NAME TYPES
53
 
54
    These macros give the various identified name types.
55
*/
56
 
57
#define NAME_TYPE		0
58
#define NAME_TYPE_AUX		1
59
#define NAME_ENUM_CONST		2
60
#define NAME_STRUCT_CMP		3
61
#define NAME_UNION_CMP		4
62
#define NAME_FIELD_CMP		5
63
#define NAME_MAP		6
64
#define NAME_MAP_ARG		7
65
#define NAME_LAST		8
66
 
67
 
68
/*
69
    DECLARATIONS FOR NAME CHECKING ROUTINES
70
*/
71
 
72
extern void check_names PROTO_S ( ( int ) ) ;
73
 
74
 
75
#endif