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, 1998
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 COMPILE_INCLUDED
32
#define COMPILE_INCLUDED
33
 
34
 
35
/*
36
    MAIN COMPILATION ROUTINES
37
 
38
    The routines in this module are concerned with the main compilation
39
    actions of transforming declarations and definitions into TDF.
40
*/
41
 
42
extern void compile_variable PROTO_S ( ( IDENTIFIER, int ) ) ;
43
extern void compile_function PROTO_S ( ( IDENTIFIER, int ) ) ;
44
extern void compile_token PROTO_S ( ( IDENTIFIER, int ) ) ;
45
extern void compile_type PROTO_S ( ( IDENTIFIER ) ) ;
46
extern void compile_virtual PROTO_S ( ( CLASS_TYPE, int ) ) ;
47
extern void compile_asm PROTO_S ( ( EXP ) ) ;
48
extern void compile_comment PROTO_S ( ( string, unsigned long ) ) ;
49
extern void compile_preserve PROTO_S ( ( IDENTIFIER ) ) ;
50
extern void compile_pending PROTO_S ( ( void ) ) ;
51
extern void compile_weak PROTO_S ( ( IDENTIFIER, IDENTIFIER ) ) ;
52
extern void update_tag PROTO_S ( ( IDENTIFIER, int ) ) ;
53
extern LIST ( IDENTIFIER ) pending_funcs ;
54
 
55
#if TDF_OUTPUT
56
extern void enc_tagdec PROTO_S ( ( IDENTIFIER, ulong, TYPE, int ) ) ;
57
extern BITSTREAM *enc_tagdec_start PROTO_S ( ( IDENTIFIER, ulong, TYPE, int ) ) ;
58
extern void enc_tagdec_end PROTO_S ( ( BITSTREAM * ) ) ;
59
extern BITSTREAM *enc_tagdef_start PROTO_S ( ( IDENTIFIER, ulong, TYPE, int ) ) ;
60
extern void enc_tagdef_end PROTO_S ( ( BITSTREAM * ) ) ;
61
extern ulong make_tagdef PROTO_S ( ( IDENTIFIER, TYPE, EXP, EXP, int ) ) ;
62
extern BITSTREAM *enc_variable PROTO_S ( ( BITSTREAM *, IDENTIFIER, int, EXP *, EXP ) ) ;
63
extern BITSTREAM *enc_access PROTO_S ( ( BITSTREAM *, DECL_SPEC ) ) ;
64
extern BITSTREAM *enc_tokdef_start PROTO_S ( ( ulong, CONST char *, ulong *, int ) ) ;
65
extern void enc_tokdef_end PROTO_S ( ( ulong, BITSTREAM * ) ) ;
66
extern void enc_tokdec PROTO_S ( ( ulong, CONST char * ) ) ;
67
extern int enc_tokdef PROTO_S ( ( IDENTIFIER, int ) ) ;
68
extern void enc_dynamic_init PROTO_S ( ( void ) ) ;
69
extern DECL_SPEC crt_func_access ;
70
#endif
71
 
72
 
73
#endif