Subversion Repositories tendra.SVN

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 7
Line -... Line 1...
-
 
1
/*
-
 
2
 * Copyright (c) 2002-2006 The TenDRA Project <http://www.tendra.org/>.
-
 
3
 * All rights reserved.
-
 
4
 *
-
 
5
 * Redistribution and use in source and binary forms, with or without
-
 
6
 * modification, are permitted provided that the following conditions are met:
-
 
7
 *
-
 
8
 * 1. Redistributions of source code must retain the above copyright notice,
-
 
9
 *    this list of conditions and the following disclaimer.
-
 
10
 * 2. Redistributions in binary form must reproduce the above copyright notice,
-
 
11
 *    this list of conditions and the following disclaimer in the documentation
-
 
12
 *    and/or other materials provided with the distribution.
-
 
13
 * 3. Neither the name of The TenDRA Project nor the names of its contributors
-
 
14
 *    may be used to endorse or promote products derived from this software
-
 
15
 *    without specific, prior written permission.
-
 
16
 *
-
 
17
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
-
 
18
 * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-
 
19
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-
 
20
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
-
 
21
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-
 
22
 * EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-
 
23
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-
 
24
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-
 
25
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-
 
26
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-
 
27
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
 
28
 *
-
 
29
 * $Id$
-
 
30
 */
1
/*
31
/*
2
    		 Crown Copyright (c) 1997
32
    		 Crown Copyright (c) 1997
3
    
33
    
4
    This TenDRA(r) Computer Program is subject to Copyright
34
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
35
    owned by the United Kingdom Secretary of State for Defence
Line 41... Line 71...
41
    algebra c_class (version 1.1) by calculus (version 1.2).
71
    algebra c_class (version 1.1) by calculus (version 1.2).
42
*/
72
*/
43
 
73
 
44
#include "err_ops.h"
74
#include "err_ops.h"
45
 
75
 
46
#pragma token PROC (\
76
#pragma token PROC(\
47
	EXP : int : sev,\
77
	EXP : int : sev,\
48
	EXP : int : no,\
78
	EXP : int : no,\
49
	EXP : unsigned : sz,\
79
	EXP : unsigned : sz,\
50
	EXP lvalue : ERROR : e\
80
	EXP lvalue : ERROR : e\
51
    ) STATEMENT MAKE_err_simple_args #
81
    ) STATEMENT MAKE_err_simple_args #
52
 
82
 
53
#pragma token PROC (\
83
#pragma token PROC(\
54
	EXP : ERROR : e\
84
	EXP : ERROR : e\
55
    ) STATEMENT DESTROY_err_simple_args #
85
    ) STATEMENT DESTROY_err_simple_args #
56
 
86
 
57
#pragma token PROC (\
87
#pragma token PROC(\
58
	EXP : ERROR : e,\
88
	EXP : ERROR : e,\
59
	EXP : unsigned : n,\
89
	EXP : unsigned : n,\
60
	TYPE t\
90
	TYPE t\
61
    ) EXP : PTR ( t ) : err_arg #
91
    ) EXP : PTR(t) : err_arg #
62
 
92
 
63
#pragma interface MAKE_err_simple_args DESTROY_err_simple_args err_arg
93
#pragma interface MAKE_err_simple_args DESTROY_err_simple_args err_arg
64
 
94
 
65
 
95
 
66
#endif
96
#endif