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 |
/* Var Param Token Definitions for hp_pa. */
|
|
|
32 |
/* Needs to be linked with the ANSI library */
|
|
|
33 |
/* specific to platform. */
|
|
|
34 |
/* */
|
|
|
35 |
/* ********************************************* */
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
Tokdec ~va_list : [] SHAPE;
|
|
|
40 |
Tokdec ~__va_start : [EXP] EXP;
|
|
|
41 |
Tokdec ~va_arg : [EXP, SHAPE] EXP ;
|
|
|
42 |
Tokdec ~va_end : [EXP] EXP;
|
|
|
43 |
|
|
|
44 |
Tokdec ~next_caller_offset : [EXP, SHAPE, SHAPE] EXP;
|
|
|
45 |
Tokdec ~next_callee_offset : [EXP, SHAPE, SHAPE] EXP;
|
|
|
46 |
|
|
|
47 |
Tokdec ansi.stdarg.va_list : [] SHAPE;
|
|
|
48 |
Tokdec ansi.stdarg.__va_start : [EXP] EXP;
|
|
|
49 |
Tokdec ansi.stdarg.va_arg : [EXP, SHAPE] EXP;
|
|
|
50 |
Tokdec ansi.stdarg.va_end : [EXP] EXP;
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
/* TOKENS FOR TRADITIONAL PROCEDURES */
|
|
|
55 |
|
|
|
56 |
Tokdef ~va_list = [] SHAPE ansi.stdarg.va_list;
|
|
|
57 |
|
|
|
58 |
Tokdef ~__va_start = [i:EXP] EXP
|
|
|
59 |
ansi.stdarg.__va_start [i];
|
|
|
60 |
|
|
|
61 |
Tokdef ~va_arg = [l:EXP, s:SHAPE] EXP
|
|
|
62 |
ansi.stdarg.va_arg [l, s];
|
|
|
63 |
|
|
|
64 |
Tokdef ~va_end = [l:EXP] EXP
|
|
|
65 |
ansi.stdarg.va_end [l];
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
/* TOKENS FOR GENERAL PROCEDURES */
|
|
|
70 |
|
|
|
71 |
/* These tokens are given no definitions here since */
|
|
|
72 |
/* they are inlined directly by the translator. */
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
Keep (
|
|
|
76 |
~next_caller_offset, ~next_callee_offset,
|
|
|
77 |
~va_list, ~__va_start, ~va_arg, ~va_end
|
|
|
78 |
)
|