Subversion Repositories tendra.SVN

Rev

Rev 2 | Go to most recent revision | 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
#ifndef STATEMENT_INCLUDED
32
#define STATEMENT_INCLUDED
33
 
34
 
35
/*
36
    STATEMENT CONSTRUCTION DECLARATIONS
37
 
38
    The routines in this module are used in the construction of the
39
    basic language statements.
40
*/
41
 
42
extern EXP begin_case_stmt PROTO_S ( ( EXP, int ) ) ;
43
extern EXP begin_compound_stmt PROTO_S ( ( int ) ) ;
44
extern EXP begin_default_stmt PROTO_S ( ( int ) ) ;
45
extern EXP begin_do_stmt PROTO_S ( ( void ) ) ;
46
extern EXP begin_for_stmt PROTO_S ( ( void ) ) ;
47
extern EXP begin_hash_if_stmt PROTO_S ( ( EXP, EXP ) ) ;
48
extern EXP begin_if_stmt PROTO_S ( ( EXP ) ) ;
49
extern EXP begin_switch_stmt PROTO_S ( ( EXP ) ) ;
50
extern EXP begin_while_stmt PROTO_S ( ( EXP ) ) ;
51
 
52
extern void mark_compound_stmt PROTO_S ( ( EXP ) ) ;
53
extern EXP add_compound_stmt PROTO_S ( ( EXP, EXP ) ) ;
54
extern EXP cont_hash_if_stmt PROTO_S ( ( EXP, EXP, EXP ) ) ;
55
extern EXP cont_if_stmt PROTO_S ( ( EXP, EXP ) ) ;
56
extern EXP init_for_stmt PROTO_S ( ( EXP, EXP * ) ) ;
57
extern EXP cond_for_stmt PROTO_S ( ( EXP, EXP, EXP ) ) ;
58
 
59
extern EXP end_case_stmt PROTO_S ( ( EXP, EXP ) ) ;
60
extern EXP end_compound_stmt PROTO_S ( ( EXP ) ) ;
61
extern EXP end_default_stmt PROTO_S ( ( EXP, EXP ) ) ;
62
extern EXP end_do_stmt PROTO_S ( ( EXP, EXP, EXP ) ) ;
63
extern EXP end_for_stmt PROTO_S ( ( EXP, EXP ) ) ;
64
extern EXP end_hash_if_stmt PROTO_S ( ( EXP, EXP ) ) ;
65
extern EXP end_if_stmt PROTO_S ( ( EXP, EXP ) ) ;
66
extern EXP end_switch_stmt PROTO_S ( ( EXP, EXP, int ) ) ;
67
extern EXP end_while_stmt PROTO_S ( ( EXP, EXP ) ) ;
68
 
69
extern EXP make_break_stmt PROTO_S ( ( void ) ) ;
70
extern EXP make_continue_stmt PROTO_S ( ( void ) ) ;
71
extern EXP make_decl_stmt PROTO_S ( ( MEMBER, MEMBER, int * ) ) ;
72
extern EXP make_temp_decl PROTO_S ( ( MEMBER, MEMBER, EXP ) ) ;
73
extern EXP make_exp_stmt PROTO_S ( ( EXP ) ) ;
74
extern EXP make_return_stmt PROTO_S ( ( EXP, int ) ) ;
75
extern EXP make_discard_exp PROTO_S ( ( EXP ) ) ;
76
extern EXP make_reach_stmt PROTO_S ( ( EXP, int ) ) ;
77
extern EXP fall_return_stmt PROTO_S ( ( void ) ) ;
78
extern EXP find_return_exp PROTO_S ( ( EXP, IDENTIFIER *, int ) ) ;
79
extern EXP check_return_exp PROTO_S ( ( EXP, int ) ) ;
80
 
81
extern EXP bind_temporary PROTO_S ( ( EXP ) ) ;
82
extern void begin_cond PROTO_S ( ( void ) ) ;
83
extern EXP end_cond PROTO_S ( ( void ) ) ;
84
extern EXP inject_cond PROTO_S ( ( EXP, EXP ) ) ;
85
extern TYPE make_cond_type PROTO_S ( ( TYPE ) ) ;
86
extern EXP check_cond PROTO_S ( ( EXP, EXP *, int ) ) ;
87
extern EXP check_control PROTO_S ( ( EXP, EXP *, EXP * ) ) ;
88
extern void check_empty_stmt PROTO_S ( ( int ) ) ;
89
extern EXP make_if_cond PROTO_S ( ( EXP, EXP ) ) ;
90
extern EXP make_else_cond PROTO_S ( ( EXP ) ) ;
91
extern IDENTIFIER find_case PROTO_S ( ( LIST ( NAT ), LIST ( IDENTIFIER ), NAT ) ) ;
92
extern EXP make_asm PROTO_S ( ( EXP, LIST ( EXP ) ) ) ;
93
 
94
extern void set_parent_stmt PROTO_S ( ( EXP, EXP ) ) ;
95
extern EXP get_parent_stmt PROTO_S ( ( EXP ) ) ;
96
extern STACK ( EXP ) crt_loop_stack ;
97
extern NAMESPACE block_namespace ;
98
extern unsigned crt_condition ;
99
extern int record_location ;
100
extern int unreached_code ;
101
extern int unreached_last ;
102
extern int unreached_prev ;
103
extern int unreached_fall ;
104
extern int suppress_fall ;
105
extern EXP crt_hash_cond ;
106
extern LOCATION stmt_loc ;
107
 
108
 
109
#endif