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 EXTRA_INCLUDED
32
#define EXTRA_INCLUDED
33
 
34
 
35
/*
36
    EXTRA CALCULUS TOKEN SPECIFICATIONS
37
 
38
    This file contains the specifications for calculus-like tokens used
39
    within the program.
40
*/
41
 
42
#if calculus_SPECIFICATION
43
 
44
#pragma token PROC {\
45
	TYPE t, EXP : LIST ( t ) : e1,\
46
	EXP : LIST ( t ) : e2, EXP : SIZE ( t ) : e3 |\
47
	EXP e1, EXP e2, EXP e3\
48
    } EXP : LIST ( t ) : ADD_list #
49
 
50
#pragma interface ADD_list
51
 
52
#endif
53
 
54
 
55
/*
56
    EXTRA CALCULUS TOKEN IMPLEMENTATIONS
57
 
58
    The token specified above are implemented as follows.  The token
59
    definitions are implementation specific.  The functions used are
60
    defined in calculus.c.
61
*/
62
 
63
#if calculus_IMPLEMENTATION
64
 
65
extern calculus *add_calculus_list PROTO_S ( ( calculus *, calculus *, int ) ) ;
66
 
67
#define ADD_list( X, Y, Z )	add_calculus_list ( ( X ), ( Y ), ( Z ) )
68
 
69
#endif
70
 
71
 
72
#endif