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 |
/**** c-parser.h --- SID C parser.
|
|
|
32 |
*
|
|
|
33 |
** Author: Steve Folkes <smf@hermes.mod.uk>
|
|
|
34 |
*
|
|
|
35 |
**** Commentary:
|
|
|
36 |
*
|
|
|
37 |
* This file specifies the interface to the SID C definition file parser that
|
|
|
38 |
* is produced from the file "c-parser.sid".
|
|
|
39 |
*
|
|
|
40 |
**** Change Log:
|
|
|
41 |
* $Log: c-parser.h,v $
|
|
|
42 |
* Revision 1.1.1.1 1998/01/17 15:57:42 release
|
|
|
43 |
* First version to be checked into rolling release.
|
|
|
44 |
*
|
|
|
45 |
* Revision 1.2 1994/12/15 09:56:02 smf
|
|
|
46 |
* Brought into line with OSSG C Coding Standards Document, as per
|
|
|
47 |
* "CR94_178.sid+tld-update".
|
|
|
48 |
*
|
|
|
49 |
* Revision 1.1.1.1 1994/07/25 16:04:15 smf
|
|
|
50 |
* Initial import of SID 1.8 non shared files.
|
|
|
51 |
*
|
|
|
52 |
**/
|
|
|
53 |
|
|
|
54 |
/****************************************************************************/
|
|
|
55 |
|
|
|
56 |
#ifndef H_C_PARSER
|
|
|
57 |
#define H_C_PARSER
|
|
|
58 |
|
|
|
59 |
#include "os-interface.h"
|
|
|
60 |
#include "c-lexer.h"
|
|
|
61 |
#include "c-out-info.h"
|
|
|
62 |
#include "table.h"
|
|
|
63 |
|
|
|
64 |
/*--------------------------------------------------------------------------*/
|
|
|
65 |
|
|
|
66 |
extern CLexerStreamP c_current_stream;
|
|
|
67 |
extern COutputInfoP c_current_out_info;
|
|
|
68 |
extern TableP c_current_table;
|
6 |
7u83 |
69 |
extern void c_parse_grammar(void);
|
2 |
7u83 |
70 |
|
|
|
71 |
#endif /* !defined (H_C_PARSER) */
|
|
|
72 |
|
|
|
73 |
/*
|
|
|
74 |
* Local variables(smf):
|
|
|
75 |
* eval: (include::add-path-entry "../os-interface" "../library")
|
|
|
76 |
* eval: (include::add-path-entry "../transforms" "../output")
|
|
|
77 |
* eval: (include::add-path-entry "../c-output" "../generated")
|
|
|
78 |
* end:
|
|
|
79 |
**/
|