1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
|
/* stc.h -- Private #include File (module.h template V1.0)
Copyright (C) 1995 Free Software Foundation, Inc.
Contributed by James Craig Burley.
This file is part of GNU Fortran.
GNU Fortran is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Fortran is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Fortran; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
Owning Modules:
stc.c
Modifications:
*/
/* Allow multiple inclusion to work. */
#ifndef GCC_F_STC_H
#define GCC_F_STC_H
/* Simple definitions and enumerations. */
/* Typedefs. */
/* Include files needed by this one. */
#include "bad.h"
#include "bld.h"
#include "expr.h"
#include "lex.h"
#include "stp.h"
#include "str.h"
#include "stt.h"
/* Structure definitions. */
/* Global objects accessed by users of this module. */
extern ffeexprContext ffestc_iolist_context_;
/* Declare functions with prototypes. */
void ffestc_decl_start (ffestpType type, ffelexToken typet, ffebld kind,
ffelexToken kindt, ffebld len, ffelexToken lent);
void ffestc_decl_attrib (ffestpAttrib attrib, ffelexToken attribt,
ffestrOther intent_kw, ffesttDimList dims);
void ffestc_decl_item (ffelexToken name, ffebld kind, ffelexToken kindt,
ffesttDimList dims, ffebld len, ffelexToken lent,
ffebld init, ffelexToken initt, bool clist);
void ffestc_decl_itemstartvals (void);
void ffestc_decl_itemvalue (ffebld repeat, ffelexToken repeat_token,
ffebld value, ffelexToken value_token);
void ffestc_decl_itemendvals (ffelexToken t);
void ffestc_decl_finish (void);
void ffestc_elsewhere (ffelexToken where_token);
void ffestc_end (void);
void ffestc_eof (void);
bool ffestc_exec_transition (void);
void ffestc_ffebad_here_doiter (ffebadIndex i, ffesymbol s);
void ffestc_init_3 (void);
void ffestc_init_4 (void);
bool ffestc_is_decl_not_R1219 (void);
bool ffestc_is_entry_in_subr (void);
bool ffestc_is_let_not_V027 (void);
#if FFESTR_F90
void ffestc_let (ffebld dest, ffebld source, ffelexToken source_token);
#else
#define ffestc_let ffestc_R737
#endif
#if FFESTR_F90
void ffestc_module (ffelexToken module_name, ffelexToken procedure_name);
#endif
#if FFESTR_F90
void ffestc_private (void);
#endif
void ffestc_terminate_4 (void);
#if FFESTR_F90
void ffestc_R423A (void);
void ffestc_R423B (void);
void ffestc_R424 (ffelexToken access, ffestrOther access_kw, ffelexToken name);
void ffestc_R425 (ffelexToken name);
void ffestc_R426_start (ffestpType type, ffelexToken typet, ffebld kind,
ffelexToken kindt, ffebld len, ffelexToken lent);
void ffestc_R426_attrib (ffestpAttrib attrib, ffelexToken attribt,
ffestrOther intent_kw, ffesttDimList dims);
void ffestc_R426_item (ffelexToken name, ffebld kind, ffelexToken kindt,
ffesttDimList dims, ffebld len, ffelexToken lent, ffebld init,
ffelexToken initt, bool clist);
void ffestc_R426_itemstartvals (void);
void ffestc_R426_itemvalue (ffebld repeat, ffelexToken repeat_token,
ffebld value, ffelexToken value_token);
void ffestc_R426_itemendvals (ffelexToken t);
void ffestc_R426_finish (void);
#endif
void ffestc_R501_start (ffestpType type, ffelexToken typet, ffebld kind,
ffelexToken kindt, ffebld len, ffelexToken lent);
void ffestc_R501_attrib (ffestpAttrib attrib, ffelexToken attribt,
ffestrOther intent_kw, ffesttDimList dims);
void ffestc_R501_item (ffelexToken name, ffebld kind, ffelexToken kindt,
ffesttDimList dims, ffebld len, ffelexToken lent, ffebld init,
ffelexToken initt, bool clist);
void ffestc_R501_itemstartvals (void);
void ffestc_R501_itemvalue (ffebld repeat, ffelexToken repeat_token,
ffebld value, ffelexToken value_token);
void ffestc_R501_itemendvals (ffelexToken t);
void ffestc_R501_finish (void);
#if FFESTR_F90
void ffestc_R519_start (ffelexToken intent, ffestrOther intent_kw);
void ffestc_R519_item (ffelexToken name);
void ffestc_R519_finish (void);
void ffestc_R520_start (void);
void ffestc_R520_item (ffelexToken name);
void ffestc_R520_finish (void);
void ffestc_R521A (void);
void ffestc_R521Astart (void);
void ffestc_R521Aitem (ffelexToken name);
void ffestc_R521Afinish (void);
void ffestc_R521B (void);
void ffestc_R521Bstart (void);
void ffestc_R521Bitem (ffelexToken name);
void ffestc_R521Bfinish (void);
#endif
void ffestc_R522 (void);
void ffestc_R522start (void);
void ffestc_R522item_object (ffelexToken name);
void ffestc_R522item_cblock (ffelexToken name);
void ffestc_R522finish (void);
void ffestc_R524_start (bool virtual);
void ffestc_R524_item (ffelexToken name, ffesttDimList dims);
void ffestc_R524_finish (void);
#if FFESTR_F90
void ffestc_R525_start (void);
void ffestc_R525_item (ffelexToken name, ffesttDimList dims);
void ffestc_R525_finish (void);
void ffestc_R526_start (void);
void ffestc_R526_item (ffelexToken name, ffesttDimList dims);
void ffestc_R526_finish (void);
void ffestc_R527_start (void);
void ffestc_R527_item (ffelexToken name, ffesttDimList dims);
void ffestc_R527_finish (void);
#endif
void ffestc_R528_start (void);
void ffestc_R528_item_object (ffebld expr, ffelexToken expr_token);
void ffestc_R528_item_startvals (void);
void ffestc_R528_item_value (ffebld repeat, ffelexToken repeat_token,
ffebld value, ffelexToken value_token);
void ffestc_R528_item_endvals (ffelexToken t);
void ffestc_R528_finish (void);
void ffestc_R537_start (void);
void ffestc_R537_item (ffebld dest, ffelexToken dest_token, ffebld source,
ffelexToken source_token);
void ffestc_R537_finish (void);
void ffestc_R539 (void);
void ffestc_R539start (void);
void ffestc_R539item (ffestpType type, ffebld kind, ffelexToken kindt,
ffebld len, ffelexToken lent, ffesttImpList letters);
void ffestc_R539finish (void);
void ffestc_R542_start (void);
void ffestc_R542_item_nlist (ffelexToken name);
void ffestc_R542_item_nitem (ffelexToken name);
void ffestc_R542_finish (void);
void ffestc_R544_start (void);
void ffestc_R544_item (ffesttExprList exprlist);
void ffestc_R544_finish (void);
void ffestc_R547_start (void);
void ffestc_R547_item_object (ffelexToken name, ffesttDimList dims);
void ffestc_R547_item_cblock (ffelexToken name);
void ffestc_R547_finish (void);
#if FFESTR_F90
void ffestc_R620 (ffesttExprList objects, ffebld stat,
ffelexToken stat_token);
void ffestc_R624 (ffesttExprList pointers);
void ffestc_R625 (ffesttExprList objects, ffebld stat,
ffelexToken stat_token);
#endif
void ffestc_R737 (ffebld dest, ffebld source, ffelexToken source_token);
#if FFESTR_F90
void ffestc_R738 (ffebld dest, ffebld source, ffelexToken source_token);
void ffestc_R740 (ffebld expr, ffelexToken expr_token);
void ffestc_R742 (ffebld expr, ffelexToken expr_token);
void ffestc_R744 (void);
void ffestc_R745 (void);
#endif
void ffestc_R803 (ffelexToken construct_name, ffebld expr,
ffelexToken expr_token);
void ffestc_R804 (ffebld expr, ffelexToken expr_token, ffelexToken name);
void ffestc_R805 (ffelexToken name);
void ffestc_R806 (ffelexToken name);
void ffestc_R807 (ffebld expr, ffelexToken expr_token);
void ffestc_R809 (ffelexToken construct_name, ffebld expr,
ffelexToken expr_token);
void ffestc_R810 (ffesttCaseList cases, ffelexToken name);
void ffestc_R811 (ffelexToken name);
void ffestc_R819A (ffelexToken construct_name, ffelexToken label, ffebld var,
ffelexToken var_token, ffebld start, ffelexToken start_token, ffebld end,
ffelexToken end_token, ffebld incr, ffelexToken incr_token);
void ffestc_R819B (ffelexToken construct_name, ffelexToken label, ffebld expr,
ffelexToken expr_token);
void ffestc_R820A (ffelexToken construct_name, ffebld var,
ffelexToken var_token, ffebld start, ffelexToken start_token, ffebld end,
ffelexToken end_token, ffebld incr, ffelexToken incr_token);
void ffestc_R820B (ffelexToken construct_name, ffebld expr,
ffelexToken expr_token);
void ffestc_R825 (ffelexToken name);
void ffestc_R834 (ffelexToken name);
void ffestc_R835 (ffelexToken name);
void ffestc_R836 (ffelexToken label);
void ffestc_R837 (ffesttTokenList label_toks, ffebld expr,
ffelexToken expr_token);
void ffestc_R838 (ffelexToken label, ffebld target, ffelexToken target_token);
void ffestc_R839 (ffebld target, ffelexToken target_token,
ffesttTokenList label_toks);
void ffestc_R840 (ffebld expr, ffelexToken expr_token, ffelexToken neg,
ffelexToken zero, ffelexToken pos);
void ffestc_R841 (void);
void ffestc_R842 (ffebld expr, ffelexToken expr_token);
void ffestc_R843 (ffebld expr, ffelexToken expr_token);
void ffestc_R904 (void);
void ffestc_R907 (void);
void ffestc_R909_start (bool only_format);
void ffestc_R909_item (ffebld expr, ffelexToken expr_token);
void ffestc_R909_finish (void);
void ffestc_R910_start (void);
void ffestc_R910_item (ffebld expr, ffelexToken expr_token);
void ffestc_R910_finish (void);
void ffestc_R911_start (void);
void ffestc_R911_item (ffebld expr, ffelexToken expr_token);
void ffestc_R911_finish (void);
void ffestc_R919 (void);
void ffestc_R920 (void);
void ffestc_R921 (void);
void ffestc_R923A (void);
void ffestc_R923B_start (void);
void ffestc_R923B_item (ffebld expr, ffelexToken expr_token);
void ffestc_R923B_finish (void);
void ffestc_R1001 (ffesttFormatList f);
void ffestc_R1102 (ffelexToken name);
void ffestc_R1103 (ffelexToken name);
#if FFESTR_F90
void ffestc_R1105 (ffelexToken name);
void ffestc_R1106 (ffelexToken name);
void ffestc_R1107_start (ffelexToken name, bool only);
void ffestc_R1107_item (ffelexToken local, ffelexToken use);
void ffestc_R1107_finish (void);
#endif
void ffestc_R1111 (ffelexToken name);
void ffestc_R1112 (ffelexToken name);
#if FFESTR_F90
void ffestc_R1202 (ffestpDefinedOperator operator, ffelexToken name);
void ffestc_R1203 (void);
void ffestc_R1205_start (void);
void ffestc_R1205_item (ffelexToken name);
void ffestc_R1205_finish (void);
#endif
void ffestc_R1207_start (void);
void ffestc_R1207_item (ffelexToken name);
void ffestc_R1207_finish (void);
void ffestc_R1208_start (void);
void ffestc_R1208_item (ffelexToken name);
void ffestc_R1208_finish (void);
void ffestc_R1212 (ffebld expr, ffelexToken expr_token);
#if FFESTR_F90
void ffestc_R1213 (ffebld dest, ffebld source, ffelexToken source_token);
#endif
void ffestc_R1219 (ffelexToken funcname, ffesttTokenList args,
ffelexToken final, ffestpType type, ffebld kind, ffelexToken kindt,
ffebld len, ffelexToken lent, ffelexToken recursive, ffelexToken result);
void ffestc_R1221 (ffelexToken name);
void ffestc_R1223 (ffelexToken subrname, ffesttTokenList args,
ffelexToken final, ffelexToken recursive);
void ffestc_R1225 (ffelexToken name);
void ffestc_R1226 (ffelexToken entryname, ffesttTokenList args,
ffelexToken final);
void ffestc_R1227 (ffebld expr, ffelexToken expr_token);
#if FFESTR_F90
void ffestc_R1228 (void);
#endif
void ffestc_R1229_start (ffelexToken name, ffesttTokenList args,
ffelexToken final);
void ffestc_R1229_finish (ffebld expr, ffelexToken expr_token);
void ffestc_S3P4 (ffebld filename, ffelexToken filename_token);
#if FFESTR_VXT
void ffestc_V003_start (ffelexToken structure_name);
void ffestc_V003_item (ffelexToken name, ffesttDimList dims);
void ffestc_V003_finish (void);
void ffestc_V004 (void);
void ffestc_V009 (void);
void ffestc_V010 (void);
void ffestc_V012 (void);
void ffestc_V013 (void);
#endif
void ffestc_V014_start (void);
void ffestc_V014_item_object (ffelexToken name);
void ffestc_V014_item_cblock (ffelexToken name);
void ffestc_V014_finish (void);
#if FFESTR_VXT
void ffestc_V016_start (void);
void ffestc_V016_item_structure (ffelexToken name);
void ffestc_V016_item_object (ffelexToken name, ffesttDimList dims);
void ffestc_V016_finish (void);
void ffestc_V018_start (void);
void ffestc_V018_item (ffebld expr, ffelexToken expr_token);
void ffestc_V018_finish (void);
void ffestc_V019_start (void);
void ffestc_V019_item (ffebld expr, ffelexToken expr_token);
void ffestc_V019_finish (void);
#endif
void ffestc_V020_start (void);
void ffestc_V020_item (ffebld expr, ffelexToken expr_token);
void ffestc_V020_finish (void);
#if FFESTR_VXT
void ffestc_V021 (void);
void ffestc_V022 (void);
void ffestc_V023_start (void);
void ffestc_V023_item (ffebld expr, ffelexToken expr_token);
void ffestc_V023_finish (void);
void ffestc_V024_start (void);
void ffestc_V024_item (ffebld expr, ffelexToken expr_token);
void ffestc_V024_finish (void);
void ffestc_V025_start (void);
void ffestc_V025_item (ffebld u, ffelexToken ut, ffebld m, ffelexToken mt,
ffebld n, ffelexToken nt, ffebld asv, ffelexToken asvt);
void ffestc_V025_finish (void);
void ffestc_V026 (void);
#endif
void ffestc_V027_start (void);
void ffestc_V027_item (ffelexToken dest_token, ffebld source,
ffelexToken source_token);
void ffestc_V027_finish (void);
void ffestc_any (void);
/* Define macros. */
#define ffestc_context_iolist() ffestc_iolist_context_
#define ffestc_init_0()
#define ffestc_init_1()
#define ffestc_init_2()
#define ffestc_terminate_0()
#define ffestc_terminate_1()
#define ffestc_terminate_2()
#define ffestc_terminate_3()
/* End of #include file. */
#endif /* ! GCC_F_STC_H */
|