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 EXCEPT_INCLUDED
32
#define EXCEPT_INCLUDED
33
 
34
 
35
/*
36
    EXCEPTION HANDLING DECLARATIONS
37
 
38
    The routines in this module are concerned with exception handling.
39
*/
40
 
41
extern EXP make_throw_exp PROTO_S ( ( EXP, int ) ) ;
42
extern EXP make_throw_arg PROTO_S ( ( TYPE, int ) ) ;
43
extern EXP begin_catch_stmt PROTO_S ( ( EXP, IDENTIFIER ) ) ;
44
extern EXP end_catch_stmt PROTO_S ( ( EXP, EXP ) ) ;
45
extern EXP begin_try_stmt PROTO_S ( ( int ) ) ;
46
extern EXP cont_try_stmt PROTO_S ( ( EXP, EXP ) ) ;
47
extern EXP end_try_stmt PROTO_S ( ( EXP, int ) ) ;
48
extern void inject_try_stmt PROTO_S ( ( EXP ) ) ;
49
extern void end_try_blocks PROTO_S ( ( IDENTIFIER ) ) ;
50
extern IDENTIFIER make_except_decl PROTO_S ( ( DECL_SPEC, TYPE, IDENTIFIER, int ) ) ;
51
extern int check_func_throw PROTO_S ( ( TYPE, IDENTIFIER ) ) ;
52
extern int check_throw PROTO_S ( ( TYPE, int ) ) ;
53
extern void start_try_check PROTO_S ( ( LIST ( TYPE ) ) ) ;
54
extern EXP end_try_check PROTO_S ( ( IDENTIFIER, EXP ) ) ;
55
extern int check_try_block PROTO_S ( ( EXP ) ) ;
56
 
57
extern int eq_except PROTO_S ( ( TYPE, TYPE ) ) ;
58
extern int in_type_set PROTO_S ( ( LIST ( TYPE ), TYPE ) ) ;
59
extern int eq_type_set PROTO_S ( ( LIST ( TYPE ), LIST ( TYPE ), int ) ) ;
60
extern LIST ( TYPE ) union_type_set PROTO_S ( ( LIST ( TYPE ), LIST ( TYPE ) ) ) ;
61
extern LIST ( TYPE ) cons_type_set PROTO_S ( ( LIST ( TYPE ), TYPE ) ) ;
62
extern LIST ( TYPE ) uniq_type_set PROTO_S ( ( LIST ( TYPE ) ) ) ;
63
extern TYPE check_except_type PROTO_S ( ( TYPE, int ) ) ;
64
extern TYPE exception_type PROTO_S ( ( TYPE, int ) ) ;
65
extern void init_exception PROTO_S ( ( void ) ) ;
66
extern STACK ( EXP ) crt_try_blocks ;
67
extern LIST ( TYPE ) empty_type_set ;
68
extern LIST ( TYPE ) univ_type_set ;
69
extern int in_func_handler ;
70
 
71
 
72
#endif