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 VARIABLE_INCLUDED
32
#define VARIABLE_INCLUDED
33
 
34
 
35
/*
36
    VARIABLE ANALYSIS DECLARATIONS
37
 
38
    The routines in this module are concerned with the variable analysis
39
    checks.
40
*/
41
 
42
extern unsigned long check_global PROTO_S ( ( int ) ) ;
43
extern unsigned long check_namespace PROTO_S ( ( NAMESPACE, EXP, int, int ) ) ;
44
extern unsigned long check_identifier PROTO_S ( ( IDENTIFIER, NAMESPACE, EXP, int, int ) ) ;
45
extern void check_flow PROTO_S ( ( IDENTIFIER, EXP, int ) ) ;
46
extern void preserve_id PROTO_S ( ( IDENTIFIER, int ) ) ;
47
extern EXP make_unused_exp PROTO_S ( ( EXP ) ) ;
48
extern EXP make_set_exp PROTO_S ( ( EXP ) ) ;
49
extern int suppress_variable ;
50
extern int anon_c_linkage ;
51
extern int preserve_all ;
52
 
53
 
54
/*
55
    VARIABLE CHECK STATES
56
 
57
    These values are used to indicate the checking level in check_namespace,
58
    check_identifier etc.
59
*/
60
 
61
#define ANON_NONE		0
62
#define ANON_INLINE		1
63
#define ANON_NAMESPACE		2
64
#define ANON_CLASS		3
65
#define ANON_GLOBAL		4
66
 
67
 
68
#endif