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 |
/*
|
|
|
32 |
$Log: comment.h,v $
|
|
|
33 |
* Revision 1.1.1.1 1998/01/17 15:56:02 release
|
|
|
34 |
* First version to be checked into rolling release.
|
|
|
35 |
*
|
|
|
36 |
* Revision 1.2 1995/12/18 13:11:03 wfs
|
|
|
37 |
* Put hppatrans uder cvs control. Major Changes made since last release
|
|
|
38 |
* include:
|
|
|
39 |
* (i) PIC code generation.
|
|
|
40 |
* (ii) Profiling.
|
|
|
41 |
* (iii) Dynamic Initialization.
|
|
|
42 |
* (iv) Debugging of Exception Handling and Diagnostics.
|
|
|
43 |
*
|
|
|
44 |
* Revision 5.1 1995/09/15 13:29:28 wfs
|
|
|
45 |
* Minor changes to stop the gcc compiler from complaining.
|
|
|
46 |
*
|
|
|
47 |
* Revision 5.0 1995/08/25 13:49:53 wfs
|
|
|
48 |
* Preperation for August 95 Glue release
|
|
|
49 |
*
|
|
|
50 |
* Revision 4.0 1995/08/25 13:34:00 wfs
|
|
|
51 |
* *** empty log message ***
|
|
|
52 |
*
|
|
|
53 |
* Revision 4.0 1995/08/25 13:34:00 wfs
|
|
|
54 |
* *** empty log message ***
|
|
|
55 |
*
|
|
|
56 |
* Revision 3.4 1995/08/25 10:49:24 wfs
|
|
|
57 |
* *** empty log message ***
|
|
|
58 |
*
|
|
|
59 |
* Revision 3.4 1995/08/25 10:49:24 wfs
|
|
|
60 |
* *** empty log message ***
|
|
|
61 |
*
|
|
|
62 |
* Revision 3.1 95/04/10 16:25:58 16:25:58 wfs (William Simmonds)
|
|
|
63 |
* Apr95 tape version.
|
|
|
64 |
*
|
|
|
65 |
* Revision 3.0 95/03/30 11:14:37 11:14:37 wfs (William Simmonds)
|
|
|
66 |
* Mar95 tape version with CRCR95_178 bug fix.
|
|
|
67 |
*
|
|
|
68 |
* Revision 2.0 95/03/15 15:25:30 15:25:30 wfs (William Simmonds)
|
|
|
69 |
* spec 3.1 changes implemented, tests outstanding.
|
|
|
70 |
*
|
|
|
71 |
* Revision 1.1 95/01/11 13:36:31 13:36:31 wfs (William Simmonds)
|
|
|
72 |
* Initial revision
|
|
|
73 |
*
|
|
|
74 |
*/
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
#ifndef COMMENT_INCLUDED
|
|
|
78 |
#define COMMENT_INCLUDED
|
|
|
79 |
|
|
|
80 |
#include "exptypes.h"
|
|
|
81 |
#include "codetypes.h"
|
|
|
82 |
#include "installtypes.h"
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
extern bool do_comment ;
|
|
|
86 |
extern void fail PROTO_S ( ( char * ) ) ;
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
#ifdef DO_COMMENT
|
|
|
90 |
|
|
|
91 |
/* Commenting routines */
|
|
|
92 |
extern void comment PROTO_S ( ( char *) ) ;
|
|
|
93 |
extern void comment1 PROTO_S ( ( char *, long ) ) ;
|
|
|
94 |
extern void comment2 PROTO_S ( ( char *, long, long ) ) ;
|
|
|
95 |
extern void comment3 PROTO_S ( ( char *, long, long, long ) ) ;
|
|
|
96 |
extern void comment4 PROTO_S ( ( char *, long, long, long, long ) ) ;
|
|
|
97 |
|
|
|
98 |
#else /* DO_COMMENT */
|
|
|
99 |
|
|
|
100 |
/* Dummy commenting macros */
|
|
|
101 |
#define comment( s )
|
|
|
102 |
#define comment1( s, a )
|
|
|
103 |
#define comment2( s, a, b )
|
|
|
104 |
#define comment3( s, a, b, c )
|
|
|
105 |
#define comment4( s, a, b, c, d )
|
|
|
106 |
|
|
|
107 |
#endif /* DO_COMMENT */
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
#ifdef DO_FULLCOMMENT
|
|
|
111 |
|
|
|
112 |
/* Full comments */
|
|
|
113 |
#define FULLCOMMENT( s ) comment ( s )
|
|
|
114 |
#define FULLCOMMENT1( s, a ) comment1 ( s, a )
|
|
|
115 |
#define FULLCOMMENT2( s, a, b ) comment2 ( s, a, b )
|
|
|
116 |
#define FULLCOMMENT3( s, a, b, c ) comment3 ( s, a, b, c )
|
|
|
117 |
#define FULLCOMMENT4( s, a, b, c, d ) comment4 ( s, a, b, c, d )
|
|
|
118 |
|
|
|
119 |
#ifdef DO_PRTDF
|
|
|
120 |
|
|
|
121 |
/* TDF printing routines */
|
|
|
122 |
#define EXP_NUM( x ) ( int ) ( x )
|
|
|
123 |
#define SH_NAME( x ) sh_name ( x )
|
|
|
124 |
#define TAG_NAME( x ) tag_name ( x )
|
|
|
125 |
#define ANSDISCRIM_NAME( x ) ansdiscrim_name ( x )
|
|
|
126 |
#define PRTDF( s, e ) prtdf ( s, e )
|
|
|
127 |
|
|
|
128 |
#else /* DO_PRTDF */
|
|
|
129 |
|
|
|
130 |
/* Dummy TDF printing macros */
|
|
|
131 |
#define EXP_NUM( x ) ( int ) ( x )
|
|
|
132 |
#define SH_NAME( x ) ( 0 )
|
|
|
133 |
#define TAG_NAME( x ) ( 0 )
|
|
|
134 |
#define ANSDISCRIM_NAME( x ) ( 0 )
|
|
|
135 |
#define PRTDF( s, e ) ( 0 )
|
|
|
136 |
|
|
|
137 |
#endif /* DO_PRTDF */
|
|
|
138 |
|
|
|
139 |
#else /* DO_FULLCOMMENT */
|
|
|
140 |
|
|
|
141 |
/* Dummy full commenting macros */
|
|
|
142 |
#define FULLCOMMENT( s )
|
|
|
143 |
#define FULLCOMMENT1( s, a )
|
|
|
144 |
#define FULLCOMMENT2( s, a, b )
|
|
|
145 |
#define FULLCOMMENT3( s, a, b, c )
|
|
|
146 |
#define FULLCOMMENT4( s, a, b, c, d )
|
|
|
147 |
#define PRTDF( s, e )
|
|
|
148 |
|
|
|
149 |
#endif /* DO_FULLCOMMENT */
|
|
|
150 |
|
|
|
151 |
#endif /* COMMENT_INCLUDED */
|