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
@use all
32
@special external
33
@special sortname
34
@special token
35
@special tokdec
36
@special tokdef
37
@special tagdec
38
@special tagdef
39
@special al_tagdef
40
@special diag_tagdef
41
@special token_defn
42
@special exp case
43
@special exp labelled
44
@special exp make_proc
45
@special nat make_nat
46
@special signed_nat make_signed_nat
47
@special string make_string
48
@special version make_version
49
#ifndef TDF_INCLUDED
50
#define TDF_INCLUDED
51
 
52
 
53
/* AUTOMATICALLY GENERATED BY %ZX VERSION %ZV FROM TDF %VA.%VB */
54
 
55
@loop sort
56
@if sort.basic
57
extern long de_%SN PROTO_S ( ( void ) ) ;
58
@endif
59
@end
60
 
61
extern void decode PROTO_S ( ( char * ) ) ;
62
extern sortid find_sort PROTO_S ( ( sortname ) ) ;
63
extern sortname find_sortname PROTO_S ( ( int ) ) ;
64
extern void init_foreign_sorts PROTO_S ( ( void ) ) ;
65
extern char find_variable PROTO_S ( ( string, long ) ) ;
66
typedef void ( *equation_func ) PROTO_S ( ( void ) ) ;
67
extern equation_func find_equation PROTO_S ( ( string, string *, int * ) ) ;
68
 
69
@loop sort
70
@if sort.link
71
extern long var_%SN ;
72
@endif
73
@end
74
 
75
#define version_magic		%48t"TDFC"
76
#define version_major		%48t%VA
77
#define version_minor		%48t%VB
78
 
79
@loop sort
80
@if sort.unit
81
#define HAVE_%SN		%48t1
82
@endif
83
@end
84
 
85
@loop sort
86
@if sort.basic
87
#define sort_%20SN		%48t%SCE
88
@endif
89
@end
90
#define sort_foreign		%48tsortname_foreign_sort
91
#define sort_unknown		%48t0
92
 
93
@loop sort
94
@loop sort.cons
95
@if sort.special
96
#define %10SN_%20CN		%48t%CE
97
@else
98
@if cons.special
99
#define %10SN_%20CN		%48t%CE
100
@if cons.eq.make_string
101
#define %10SN_bits		%48t%SB
102
#define %10SN_ext		%48t%SE
103
@endif
104
@endif
105
@endif
106
@end
107
@end
108
 
109
 
110
#endif