Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/* Automatically generated by 'BUILD_ERRORS' */
2
 
3
#include "gen-errors.h"
4
#include "error.h"
5
#include "ostream.h"
6
 
7
 
8
static ETagDataT ET [] = {
9
    UB "option" UE,
10
    UB "usage" UE,
11
    UB "option location" UE,
12
    UB "basic name" UE,
13
    UB "action name" UE,
14
    UB "type name" UE,
15
    UB "file name" UE,
16
    UB "line number" UE,
17
    UB "identifier name" UE,
18
    UB "character" UE,
19
    UB "builtin" UE,
20
    UB "class name" UE,
21
    UB "prefix" UE,
22
    UB "parameter type" UE,
23
    UB "correct type" UE,
24
    UB "erroneous type" UE,
25
    UB "result type" UE,
26
    UB "terminal name" UE,
27
    UB "builtin name" UE,
28
    UB "string name" UE,
29
    UB "error name" UE,
30
    UB "message" UE,
31
    UB "system error" UE,
32
    UB "except name" UE,
33
    UB "assertion" UE,
34
    UB "block address" UE,
35
    UB "allocation file name" UE,
36
    UB "allocation line number" UE,
37
    UB "rule name" UE,
38
    UB "non local name name" UE,
39
    UB "tab width" UE,
40
    UB "factor limit" UE,
41
    UB "phase" UE,
42
    UB "language name" UE,
43
    UB "split size" UE,
44
    UB "number input files" UE,
45
    UB "number output files" UE,
46
    UB "name name" UE,
47
    UB "correct ref type" UE,
48
    UB "alternative" UE,
49
    UB "production" UE,
50
    UB "terminal names" UE,
51
    UB "predicate name" UE,
52
    UB "predicate names" UE,
53
    UB "clashes" UE,
54
    UB "number productions" UE,
55
    UB "inner rule name" UE,
56
    UB "outer rule name" UE,
57
    UB "inner production" UE,
58
    UB "outer production" UE,
59
    UB "predicate" UE,
60
    UB "productions" UE,
61
    UB "rule names" UE,
62
    UB "using production" UE,
63
    UB "using rule name" UE,
64
    UB "out of scope production" UE,
65
    UB "out of scope rule name" UE,
66
    ERROR_END_TAG_LIST
67
};
68
 
69
static ErrorDataT EE [] = {
70
    UB {
71
	"arg parse unknown option",
72
	ERROR_SEVERITY_FATAL,
73
	"unknown option '${option}'\n\
74
${usage}",
75
	NIL (GenericP)
76
    } UE,
77
    UB {
78
	"arg parse unknown short opt",
79
	ERROR_SEVERITY_FATAL,
80
	"unknown short option '${option}' at '${option location}'\n\
81
${usage}",
82
	NIL (GenericP)
83
    } UE,
84
    UB {
85
	"arg parse ambiguous option",
86
	ERROR_SEVERITY_FATAL,
87
	"ambiguous option '${option}'\n\
88
${usage}",
89
	NIL (GenericP)
90
    } UE,
91
    UB {
92
	"arg parse missing argument",
93
	ERROR_SEVERITY_FATAL,
94
	"missing argument for option '${option}'\n\
95
${usage}",
96
	NIL (GenericP)
97
    } UE,
98
    UB {
99
	"arg parse missing short arg",
100
	ERROR_SEVERITY_FATAL,
101
	"missing argument for option '${option}' at '${option location}'\n\
102
${usage}",
103
	NIL (GenericP)
104
    } UE,
105
    UB {
106
	"basic result code not defined",
107
	ERROR_SEVERITY_ERROR,
108
	"result code not defined for basic '${basic name}'",
109
	NIL (GenericP)
110
    } UE,
111
    UB {
112
	"action code not defined",
113
	ERROR_SEVERITY_ERROR,
114
	"definition code not defined for action '${action name}'",
115
	NIL (GenericP)
116
    } UE,
117
    UB {
118
	"type code not defined",
119
	ERROR_SEVERITY_ERROR,
120
	"some but not all assignment operations defined for type '${type name}'",
121
	NIL (GenericP)
122
    } UE,
123
    UB {
124
	"bad id substitution",
125
	ERROR_SEVERITY_ERROR,
126
	"${file name}: ${line number}: substituted identifier '${identifier name}' is not a parameter or result",
127
	NIL (GenericP)
128
    } UE,
129
    UB {
130
	"bad mod id substitution",
131
	ERROR_SEVERITY_ERROR,
132
	"${file name}: ${line number}: substituted mutable identifier '${identifier name}' is not a parameter",
133
	NIL (GenericP)
134
    } UE,
135
    UB {
136
	"mod id in assign",
137
	ERROR_SEVERITY_ERROR,
138
	"${file name}: ${line number}: substituted mutable identifier '${identifier name}' in assignment operator definition",
139
	NIL (GenericP)
140
    } UE,
141
    UB {
142
	"bad ref id substitution",
143
	ERROR_SEVERITY_ERROR,
144
	"${file name}: ${line number}: substituted reference identifier '${identifier name}' is not a parameter",
145
	NIL (GenericP)
146
    } UE,
147
    UB {
148
	"ref id in param op",
149
	ERROR_SEVERITY_ERROR,
150
	"${file name}: ${line number}: substituted address of identifier '${identifier name}' in parameter assignment operator definition",
151
	NIL (GenericP)
152
    } UE,
153
    UB {
154
	"bad label substitution",
155
	ERROR_SEVERITY_ERROR,
156
	"${file name}: ${line number}: substituted label '${identifier name}' in unparameterised block",
157
	NIL (GenericP)
158
    } UE,
159
    UB {
160
	"bad exception substitution",
161
	ERROR_SEVERITY_ERROR,
162
	"${file name}: ${line number}: substituted exception call in unsuitable code block",
163
	NIL (GenericP)
164
    } UE,
165
    UB {
166
	"bad advance substitution",
167
	ERROR_SEVERITY_ERROR,
168
	"${file name}: ${line number}: substituted lexer advance call in unsuitable code block",
169
	NIL (GenericP)
170
    } UE,
171
    UB {
172
	"bad terminal substitution",
173
	ERROR_SEVERITY_ERROR,
174
	"${file name}: ${line number}: substituted current terminal call in unsuitable code block",
175
	NIL (GenericP)
176
    } UE,
177
    UB {
178
	"code undefined result",
179
	ERROR_SEVERITY_ERROR,
180
	"${file name}: ${line number}: code result '${identifier name}' is not defined",
181
	NIL (GenericP)
182
    } UE,
183
    UB {
184
	"c illegal character",
185
	ERROR_SEVERITY_ERROR,
186
	"${file name}: ${line number}: illegal character '${character}'",
187
	NIL (GenericP)
188
    } UE,
189
    UB {
190
	"c illegal comment character",
191
	ERROR_SEVERITY_ERROR,
192
	"${file name}: ${line number}: illegal comment character '${character}'",
193
	NIL (GenericP)
194
    } UE,
195
    UB {
196
	"c eof in comment",
197
	ERROR_SEVERITY_ERROR,
198
	"${file name}: ${line number}: end of file in comment",
199
	NIL (GenericP)
200
    } UE,
201
    UB {
202
	"c unknown builtin",
203
	ERROR_SEVERITY_FATAL,
204
	"${file name}: ${line number}: unknown builtin '%${builtin}%'",
205
	NIL (GenericP)
206
    } UE,
207
    UB {
208
	"c null character in builtin",
209
	ERROR_SEVERITY_ERROR,
210
	"${file name}: ${line number}: null character in builtin",
211
	NIL (GenericP)
212
    } UE,
213
    UB {
214
	"c eof in builtin",
215
	ERROR_SEVERITY_ERROR,
216
	"${file name}: ${line number}: end of file in builtin",
217
	NIL (GenericP)
218
    } UE,
219
    UB {
220
	"c newline in builtin",
221
	ERROR_SEVERITY_ERROR,
222
	"${file name}: ${line number}: newline in builtin",
223
	NIL (GenericP)
224
    } UE,
225
    UB {
226
	"c code block syntax",
227
	ERROR_SEVERITY_ERROR,
228
	"${file name}: ${line number}: expected '{' to begin code block",
229
	NIL (GenericP)
230
    } UE,
231
    UB {
232
	"c illegal at char",
233
	ERROR_SEVERITY_ERROR,
234
	"${file name}: ${line number}: illegal character after '@': '${character}'",
235
	NIL (GenericP)
236
    } UE,
237
    UB {
238
	"c eof in code",
239
	ERROR_SEVERITY_ERROR,
240
	"${file name}: ${line number}: end of file in C code block",
241
	NIL (GenericP)
242
    } UE,
243
    UB {
244
	"c expected at id",
245
	ERROR_SEVERITY_ERROR,
246
	"${file name}: ${line number}: expected identifier after '@${character}' construct",
247
	NIL (GenericP)
248
    } UE,
249
    UB {
250
	"c expected basic",
251
	ERROR_SEVERITY_FATAL,
252
	"${file name}: ${line number}: expected basic '${class name}'",
253
	NIL (GenericP)
254
    } UE,
255
    UB {
256
	"c expected non-terminal",
257
	ERROR_SEVERITY_FATAL,
258
	"${file name}: ${line number}: expected non-terminal '${class name}'",
259
	NIL (GenericP)
260
    } UE,
261
    UB {
262
	"c unknown prefix",
263
	ERROR_SEVERITY_ERROR,
264
	"${file name}: ${line number}: unknown prefix type '${prefix}'",
265
	NIL (GenericP)
266
    } UE,
267
    UB {
268
	"c unknown identifier",
269
	ERROR_SEVERITY_ERROR,
270
	"${file name}: ${line number}: unknown identifier '${identifier name}'",
271
	NIL (GenericP)
272
    } UE,
273
    UB {
274
	"c remapped identifier",
275
	ERROR_SEVERITY_ERROR,
276
	"${file name}: ${line number}: attempt to remap identifier '${identifier name}'",
277
	NIL (GenericP)
278
    } UE,
279
    UB {
280
	"c illegal map",
281
	ERROR_SEVERITY_ERROR,
282
	"${file name}: ${line number}: cannot map identifier '${identifier name}' [it must be a rule, a basic or a type]",
283
	NIL (GenericP)
284
    } UE,
285
    UB {
286
	"c unknown type",
287
	ERROR_SEVERITY_ERROR,
288
	"${file name}: ${line number}: type '${type name}' hasn't been declared",
289
	NIL (GenericP)
290
    } UE,
291
    UB {
292
	"c unknown assign",
293
	ERROR_SEVERITY_ERROR,
294
	"${file name}: ${line number}: assignment operation defined for unknown type '${type name}'",
295
	NIL (GenericP)
296
    } UE,
297
    UB {
298
	"c assign mult def",
299
	ERROR_SEVERITY_ERROR,
300
	"${file name}: ${line number}: multiple assignment operations defined for type '${type name}'",
301
	NIL (GenericP)
302
    } UE,
303
    UB {
304
	"c assign param clash",
305
	ERROR_SEVERITY_ERROR,
306
	"${file name}: ${line number}: assignment operation parameter clash (or missing name) for type '${type name}' [parameter = ${parameter type}]",
307
	NIL (GenericP)
308
    } UE,
309
    UB {
310
	"c assign param mismatch",
311
	ERROR_SEVERITY_ERROR,
312
	"${file name}: ${line number}: parameter type mismatch for assignment operation on type '${type name}' [${erroneous type} should be ${correct type}]",
313
	NIL (GenericP)
314
    } UE,
315
    UB {
316
	"c assign result clash",
317
	ERROR_SEVERITY_ERROR,
318
	"${file name}: ${line number}: assignment operation result clash (or missing name) for type '${type name}' [result = ${result type}]",
319
	NIL (GenericP)
320
    } UE,
321
    UB {
322
	"c assign result mismatch",
323
	ERROR_SEVERITY_ERROR,
324
	"${file name}: ${line number}: result type mismatch for assignment operation on type '${type name}' [${erroneous type} should be ${correct type}]",
325
	NIL (GenericP)
326
    } UE,
327
    UB {
328
	"c assign formal clash",
329
	ERROR_SEVERITY_ERROR,
330
	"${file name}: ${line number}: assignment operation formal clash for type '${type name}' [parameter = ${parameter type}, result = ${result type}]",
331
	NIL (GenericP)
332
    } UE,
333
    UB {
334
	"c unknown param assign",
335
	ERROR_SEVERITY_ERROR,
336
	"${file name}: ${line number}: parameter assignment operation defined for unknown type '${type name}'",
337
	NIL (GenericP)
338
    } UE,
339
    UB {
340
	"c param assign mult def",
341
	ERROR_SEVERITY_ERROR,
342
	"${file name}: ${line number}: multiple parameter assignment operations defined for type '${type name}'",
343
	NIL (GenericP)
344
    } UE,
345
    UB {
346
	"c param assign param clash",
347
	ERROR_SEVERITY_ERROR,
348
	"${file name}: ${line number}: parameter assignment operation parameter clash (or missing name) for type '${type name}' [parameter = ${parameter type}]",
349
	NIL (GenericP)
350
    } UE,
351
    UB {
352
	"c param assign param mismatch",
353
	ERROR_SEVERITY_ERROR,
354
	"${file name}: ${line number}: parameter type mismatch for parameter assignment operation on type '${type name}' [${erroneous type} should be ${correct type}]",
355
	NIL (GenericP)
356
    } UE,
357
    UB {
358
	"c param assign result clash",
359
	ERROR_SEVERITY_ERROR,
360
	"${file name}: ${line number}: parameter assignment operation result clash (or missing name) for type '${type name}' [result = ${result type}]",
361
	NIL (GenericP)
362
    } UE,
363
    UB {
364
	"c param assign res mismatch",
365
	ERROR_SEVERITY_ERROR,
366
	"${file name}: ${line number}: result type mismatch for parameter assignment operation on type '${type name}' [${erroneous type} should be ${correct type}]",
367
	NIL (GenericP)
368
    } UE,
369
    UB {
370
	"c param assign formal clash",
371
	ERROR_SEVERITY_ERROR,
372
	"${file name}: ${line number}: parameter assignment operation formal clash for type '${type name}' [parameter = ${parameter type}, result = ${result type}]",
373
	NIL (GenericP)
374
    } UE,
375
    UB {
376
	"c unknown result assign",
377
	ERROR_SEVERITY_ERROR,
378
	"${file name}: ${line number}: result assignment operation defined for unknown type '${type name}'",
379
	NIL (GenericP)
380
    } UE,
381
    UB {
382
	"c result assign mult def",
383
	ERROR_SEVERITY_ERROR,
384
	"${file name}: ${line number}: multiple result assignment operations defined for type '${type name}'",
385
	NIL (GenericP)
386
    } UE,
387
    UB {
388
	"c result assign param clash",
389
	ERROR_SEVERITY_ERROR,
390
	"${file name}: ${line number}: result assignment operation parameter clash (or missing name) for type '${type name}' [parameter = ${parameter type}]",
391
	NIL (GenericP)
392
    } UE,
393
    UB {
394
	"c res assign param mismatch",
395
	ERROR_SEVERITY_ERROR,
396
	"${file name}: ${line number}: parameter type mismatch for result assignment operation on type '${type name}' [${erroneous type} should be ${correct type}]",
397
	NIL (GenericP)
398
    } UE,
399
    UB {
400
	"c result assign result clash",
401
	ERROR_SEVERITY_ERROR,
402
	"${file name}: ${line number}: result assignment operation result clash (or missing name) for type '${type name}' [result = ${result type}]",
403
	NIL (GenericP)
404
    } UE,
405
    UB {
406
	"c res assign result mismatch",
407
	ERROR_SEVERITY_ERROR,
408
	"${file name}: ${line number}: result type mismatch for result assignment operation on type '${type name}' [${erroneous type} should be ${correct type}]",
409
	NIL (GenericP)
410
    } UE,
411
    UB {
412
	"c result assign formal clash",
413
	ERROR_SEVERITY_ERROR,
414
	"${file name}: ${line number}: result assignment operation formal clash for type '${type name}' [parameter = ${parameter type}, result = ${result type}]",
415
	NIL (GenericP)
416
    } UE,
417
    UB {
418
	"c unknown action",
419
	ERROR_SEVERITY_ERROR,
420
	"${file name}: ${line number}: definition for unknown action '${action name}'",
421
	NIL (GenericP)
422
    } UE,
423
    UB {
424
	"c action mult def",
425
	ERROR_SEVERITY_ERROR,
426
	"${file name}: ${line number}: multiple definitions for action '${action name}'",
427
	NIL (GenericP)
428
    } UE,
429
    UB {
430
	"c action param clash",
431
	ERROR_SEVERITY_ERROR,
432
	"${file name}: ${line number}: parameter clash (or missing name) for action '${action name}' [parameter = ${parameter type}]",
433
	NIL (GenericP)
434
    } UE,
435
    UB {
436
	"c action param mismatch",
437
	ERROR_SEVERITY_ERROR,
438
	"${file name}: ${line number}: parameter type mismatch for action '${action name}' [${erroneous type} should be ${correct type}]",
439
	NIL (GenericP)
440
    } UE,
441
    UB {
442
	"c action result clash",
443
	ERROR_SEVERITY_ERROR,
444
	"${file name}: ${line number}: result clash (or missing name) for action '${action name}' [result = ${result type}]",
445
	NIL (GenericP)
446
    } UE,
447
    UB {
448
	"c action result mismatch",
449
	ERROR_SEVERITY_ERROR,
450
	"${file name}: ${line number}: result type mismatch for action '${action name}' [${erroneous type} should be ${correct type}]",
451
	NIL (GenericP)
452
    } UE,
453
    UB {
454
	"c action formal clash",
455
	ERROR_SEVERITY_ERROR,
456
	"${file name}: ${line number}: formal clash for action '${action name}' [parameter = ${parameter type}, result = ${result type}]",
457
	NIL (GenericP)
458
    } UE,
459
    UB {
460
	"c unknown basic",
461
	ERROR_SEVERITY_ERROR,
462
	"${file name}: ${line number}: extraction operation defined for unknown terminal '${terminal name}'",
463
	NIL (GenericP)
464
    } UE,
465
    UB {
466
	"c basic mult def",
467
	ERROR_SEVERITY_ERROR,
468
	"${file name}: ${line number}: multiple extraction operations defined for terminal '${terminal name}'",
469
	NIL (GenericP)
470
    } UE,
471
    UB {
472
	"c basic param clash",
473
	ERROR_SEVERITY_ERROR,
474
	"${file name}: ${line number}: extraction operation parameter clash (or missing name) for terminal '${terminal name}' [parameter = ${parameter type}]",
475
	NIL (GenericP)
476
    } UE,
477
    UB {
478
	"c basic param mismatch",
479
	ERROR_SEVERITY_ERROR,
480
	"${file name}: ${line number}: parameter type mismatch for extraction operation on terminal '${terminal name}' [${erroneous type} should be ()]",
481
	NIL (GenericP)
482
    } UE,
483
    UB {
484
	"c basic result clash",
485
	ERROR_SEVERITY_ERROR,
486
	"${file name}: ${line number}: extraction operation result clash (or missing name) for terminal '${terminal name}' [result = ${result type}]",
487
	NIL (GenericP)
488
    } UE,
489
    UB {
490
	"c basic result mismatch",
491
	ERROR_SEVERITY_ERROR,
492
	"${file name}: ${line number}: result type mismatch for extraction operation on terminal '${terminal name}' [${erroneous type} should be ${correct type}]",
493
	NIL (GenericP)
494
    } UE,
495
    UB {
496
	"c basic formal clash",
497
	ERROR_SEVERITY_ERROR,
498
	"${file name}: ${line number}: extraction operation formal clash for terminal '${terminal name}' [parameter = ${parameter type}, result = ${result type}]",
499
	NIL (GenericP)
500
    } UE,
501
    UB {
502
	"c basic has no result",
503
	ERROR_SEVERITY_ERROR,
504
	"${file name}: ${line number}: extraction operation defined for terminal '${terminal name}' that returns nothing",
505
	NIL (GenericP)
506
    } UE,
507
    UB {
508
	"c expected identifier",
509
	ERROR_SEVERITY_ERROR,
510
	"${file name}: ${line number}: expected identifier",
511
	NIL (GenericP)
512
    } UE,
513
    UB {
514
	"c expected c identifier",
515
	ERROR_SEVERITY_ERROR,
516
	"${file name}: ${line number}: expected C identifier",
517
	NIL (GenericP)
518
    } UE,
519
    UB {
520
	"c expected separator",
521
	ERROR_SEVERITY_ERROR,
522
	"${file name}: ${line number}: expected ','",
523
	NIL (GenericP)
524
    } UE,
525
    UB {
526
	"c expected open tuple",
527
	ERROR_SEVERITY_ERROR,
528
	"${file name}: ${line number}: expected '('",
529
	NIL (GenericP)
530
    } UE,
531
    UB {
532
	"c expected close tuple",
533
	ERROR_SEVERITY_ERROR,
534
	"${file name}: ${line number}: expected ')'",
535
	NIL (GenericP)
536
    } UE,
537
    UB {
538
	"c expected arrow",
539
	ERROR_SEVERITY_ERROR,
540
	"${file name}: ${line number}: expected '->'",
541
	NIL (GenericP)
542
    } UE,
543
    UB {
544
	"c expected terminator",
545
	ERROR_SEVERITY_ERROR,
546
	"${file name}: ${line number}: expected ';'",
547
	NIL (GenericP)
548
    } UE,
549
    UB {
550
	"c expected end action",
551
	ERROR_SEVERITY_ERROR,
552
	"${file name}: ${line number}: expected '>'",
553
	NIL (GenericP)
554
    } UE,
555
    UB {
556
	"c expected define",
557
	ERROR_SEVERITY_ERROR,
558
	"${file name}: ${line number}: expected '='",
559
	NIL (GenericP)
560
    } UE,
561
    UB {
562
	"c expected code",
563
	ERROR_SEVERITY_ERROR,
564
	"${file name}: ${line number}: expected code block",
565
	NIL (GenericP)
566
    } UE,
567
    UB {
568
	"c expected blt header",
569
	ERROR_SEVERITY_ERROR,
570
	"${file name}: ${line number}: expected '%header%'",
571
	NIL (GenericP)
572
    } UE,
573
    UB {
574
	"c expected blt terminals",
575
	ERROR_SEVERITY_ERROR,
576
	"${file name}: ${line number}: expected '%terminals%'",
577
	NIL (GenericP)
578
    } UE,
579
    UB {
580
	"c expected blt actions",
581
	ERROR_SEVERITY_ERROR,
582
	"${file name}: ${line number}: expected '%actions%'",
583
	NIL (GenericP)
584
    } UE,
585
    UB {
586
	"c expected blt trailer",
587
	ERROR_SEVERITY_ERROR,
588
	"${file name}: ${line number}: expected '%trailer%'",
589
	NIL (GenericP)
590
    } UE,
591
    UB {
592
	"c expected eof",
593
	ERROR_SEVERITY_ERROR,
594
	"${file name}: ${line number}: expected end of file",
595
	NIL (GenericP)
596
    } UE,
597
    UB {
598
	"errf null char in builtin",
599
	ERROR_SEVERITY_FATAL,
600
	"${file name}: ${line number}: null character in builtin",
601
	NIL (GenericP)
602
    } UE,
603
    UB {
604
	"errf null character in name",
605
	ERROR_SEVERITY_FATAL,
606
	"${file name}: ${line number}: null character in name",
607
	NIL (GenericP)
608
    } UE,
609
    UB {
610
	"errf null character in string",
611
	ERROR_SEVERITY_FATAL,
612
	"${file name}: ${line number}: null character in string",
613
	NIL (GenericP)
614
    } UE,
615
    UB {
616
	"errf newline in builtin",
617
	ERROR_SEVERITY_FATAL,
618
	"${file name}: ${line number}: unescaped newline in builtin",
619
	NIL (GenericP)
620
    } UE,
621
    UB {
622
	"errf newline in name",
623
	ERROR_SEVERITY_FATAL,
624
	"${file name}: ${line number}: unescaped newline in name",
625
	NIL (GenericP)
626
    } UE,
627
    UB {
628
	"errf newline in string",
629
	ERROR_SEVERITY_FATAL,
630
	"${file name}: ${line number}: unescaped newline in string",
631
	NIL (GenericP)
632
    } UE,
633
    UB {
634
	"errf eof in builtin",
635
	ERROR_SEVERITY_FATAL,
636
	"${file name}: ${line number}: unexpected end of file in builtin",
637
	NIL (GenericP)
638
    } UE,
639
    UB {
640
	"errf eof in name",
641
	ERROR_SEVERITY_FATAL,
642
	"${file name}: ${line number}: unexpected end of file in name",
643
	NIL (GenericP)
644
    } UE,
645
    UB {
646
	"errf eof in string",
647
	ERROR_SEVERITY_FATAL,
648
	"${file name}: ${line number}: unexpected end of file in string",
649
	NIL (GenericP)
650
    } UE,
651
    UB {
652
	"errf illegal esc in builtin",
653
	ERROR_SEVERITY_FATAL,
654
	"${file name}: ${line number}: illegal escape sequence in builtin",
655
	NIL (GenericP)
656
    } UE,
657
    UB {
658
	"errf illegal escape in name",
659
	ERROR_SEVERITY_FATAL,
660
	"${file name}: ${line number}: illegal escape sequence in name",
661
	NIL (GenericP)
662
    } UE,
663
    UB {
664
	"errf illegal escape in string",
665
	ERROR_SEVERITY_FATAL,
666
	"${file name}: ${line number}: illegal escape sequence in string",
667
	NIL (GenericP)
668
    } UE,
669
    UB {
670
	"errf unknown builtin",
671
	ERROR_SEVERITY_FATAL,
672
	"${file name}: ${line number}: unknown builtin '%${builtin name}%'",
673
	NIL (GenericP)
674
    } UE,
675
    UB {
676
	"errf illegal character",
677
	ERROR_SEVERITY_FATAL,
678
	"${file name}: ${line number}: illegal character '${character}'",
679
	NIL (GenericP)
680
    } UE,
681
    UB {
682
	"errf expected string",
683
	ERROR_SEVERITY_FATAL,
684
	"${file name}: ${line number}: expected string",
685
	NIL (GenericP)
686
    } UE,
687
    UB {
688
	"errf expected section",
689
	ERROR_SEVERITY_FATAL,
690
	"${file name}: ${line number}: expected name or section header (one of '%strings%', '%prefix%' or '%errors%')",
691
	NIL (GenericP)
692
    } UE,
693
    UB {
694
	"errf unknown string",
695
	ERROR_SEVERITY_FATAL,
696
	"${file name}: ${line number}: unknown string name '${string name}'",
697
	NIL (GenericP)
698
    } UE,
699
    UB {
700
	"errf unknown error",
701
	ERROR_SEVERITY_FATAL,
702
	"${file name}: ${line number}: unknown error name '${error name}'",
703
	NIL (GenericP)
704
    } UE,
705
    UB {
706
	"errf illegal message",
707
	ERROR_SEVERITY_FATAL,
708
	"${file name}: ${line number}: malformed or unterminated tag in message '${message}'",
709
	NIL (GenericP)
710
    } UE,
711
    UB {
712
	"errf cannot open",
713
	ERROR_SEVERITY_FATAL,
714
	"cannot open error file '${file name}': ${system error}",
715
	NIL (GenericP)
716
    } UE,
717
    UB {
718
	"exception unhandled",
719
	ERROR_SEVERITY_INTERNAL,
720
	"unhandled exception '${except name}' thrown from line ${line number}, file '${file name}'",
721
	NIL (GenericP)
722
    } UE,
723
    UB {
724
	"exception corrupt handler",
725
	ERROR_SEVERITY_INTERNAL,
726
	"corrupt exception handler installed at line ${line number}, file '${file name}'",
727
	NIL (GenericP)
728
    } UE,
729
    UB {
730
	"assertion failed",
731
	ERROR_SEVERITY_INTERNAL,
732
	"assertion '${assertion}' failed at line ${line number}, file '${file name}'",
733
	NIL (GenericP)
734
    } UE,
735
    UB {
736
	"dalloc multi deallocate",
737
	ERROR_SEVERITY_INTERNAL,
738
	"memory block ${block address} allocated at line ${allocation line number} in '${allocation file name}' is deallocated more than once (second deallocation at line ${line number} in file '${file name}'",
739
	NIL (GenericP)
740
    } UE,
741
    UB {
742
	"dalloc corrupt block",
743
	ERROR_SEVERITY_INTERNAL,
744
	"memory block ${block address} is corrupt at deallocation (deallocation at line ${line number} in file '${file name}'",
745
	NIL (GenericP)
746
    } UE,
747
    UB {
748
	"rule not used",
749
	ERROR_SEVERITY_ERROR,
750
	"rule '${rule name}' is never used",
751
	NIL (GenericP)
752
    } UE,
753
    UB {
754
	"basic not used",
755
	ERROR_SEVERITY_ERROR,
756
	"basic '${basic name}' is never used",
757
	NIL (GenericP)
758
    } UE,
759
    UB {
760
	"action not used",
761
	ERROR_SEVERITY_ERROR,
762
	"action '${action name}' is never used",
763
	NIL (GenericP)
764
    } UE,
765
    UB {
766
	"type not used",
767
	ERROR_SEVERITY_ERROR,
768
	"type '${type name}' is never used",
769
	NIL (GenericP)
770
    } UE,
771
    UB {
772
	"non local not used",
773
	ERROR_SEVERITY_ERROR,
774
	"non local name '${non local name name}' is never used",
775
	NIL (GenericP)
776
    } UE,
777
    UB {
778
	"rule not defined",
779
	ERROR_SEVERITY_ERROR,
780
	"rule '${rule name}' is never defined",
781
	NIL (GenericP)
782
    } UE,
783
    UB {
784
	"too many terminals",
785
	ERROR_SEVERITY_FATAL,
786
	"too many terminals in grammar",
787
	NIL (GenericP)
788
    } UE,
789
    UB {
790
	"illegal character",
791
	ERROR_SEVERITY_ERROR,
792
	"${file name}: ${line number}: illegal character '${character}'",
793
	NIL (GenericP)
794
    } UE,
795
    UB {
796
	"illegal comment character",
797
	ERROR_SEVERITY_ERROR,
798
	"${file name}: ${line number}: illegal comment character '${character}'",
799
	NIL (GenericP)
800
    } UE,
801
    UB {
802
	"eof in comment",
803
	ERROR_SEVERITY_ERROR,
804
	"${file name}: ${line number}: end of file in comment",
805
	NIL (GenericP)
806
    } UE,
807
    UB {
808
	"unknown builtin",
809
	ERROR_SEVERITY_FATAL,
810
	"${file name}: ${line number}: unknown builtin '%${builtin}%'",
811
	NIL (GenericP)
812
    } UE,
813
    UB {
814
	"null character in builtin",
815
	ERROR_SEVERITY_ERROR,
816
	"${file name}: ${line number}: null character in builtin",
817
	NIL (GenericP)
818
    } UE,
819
    UB {
820
	"eof in builtin",
821
	ERROR_SEVERITY_ERROR,
822
	"${file name}: ${line number}: end of file in builtin",
823
	NIL (GenericP)
824
    } UE,
825
    UB {
826
	"newline in builtin",
827
	ERROR_SEVERITY_ERROR,
828
	"${file name}: ${line number}: newline in builtin",
829
	NIL (GenericP)
830
    } UE,
831
    UB {
832
	"expected hash",
833
	ERROR_SEVERITY_ERROR,
834
	"${file name}: ${line number}: second character missing from '##' operator",
835
	NIL (GenericP)
836
    } UE,
837
    UB {
838
	"expected pipe",
839
	ERROR_SEVERITY_ERROR,
840
	"${file name}: ${line number}: second character missing from '||' operator",
841
	NIL (GenericP)
842
    } UE,
843
    UB {
844
	"bad tab width",
845
	ERROR_SEVERITY_FATAL,
846
	"bad tab width '${tab width}'",
847
	NIL (GenericP)
848
    } UE,
849
    UB {
850
	"bad factor limit",
851
	ERROR_SEVERITY_FATAL,
852
	"bad factor limit '${factor limit}'",
853
	NIL (GenericP)
854
    } UE,
855
    UB {
856
	"bad inlining phase",
857
	ERROR_SEVERITY_FATAL,
858
	"bad inlining phase '${phase}'",
859
	NIL (GenericP)
860
    } UE,
861
    UB {
862
	"bad language",
863
	ERROR_SEVERITY_FATAL,
864
	"unknown language '${language name}' (should be 'ansi-c', 'pre-ansi-c', 'ossg-c' or 'test')",
865
	NIL (GenericP)
866
    } UE,
867
    UB {
868
	"bad language option",
869
	ERROR_SEVERITY_FATAL,
870
	"language '${language name}' doesn't understand option '${option}'",
871
	NIL (GenericP)
872
    } UE,
873
    UB {
874
	"bad split size",
875
	ERROR_SEVERITY_FATAL,
876
	"bad split size '${split size}'",
877
	NIL (GenericP)
878
    } UE,
879
    UB {
880
	"usage",
881
	ERROR_SEVERITY_FATAL,
882
	"language '${language name}' requires ${number input files} input files and ${number output files} output files\n${usage}",
883
	NIL (GenericP)
884
    } UE,
885
    UB {
886
	"cannot open dump file",
887
	ERROR_SEVERITY_FATAL,
888
	"cannot open dump file '${file name}': ${system error}",
889
	NIL (GenericP)
890
    } UE,
891
    UB {
892
	"multiple dump files",
893
	ERROR_SEVERITY_FATAL,
894
	"more than one dump file specified",
895
	NIL (GenericP)
896
    } UE,
897
    UB {
898
	"cannot open output file",
899
	ERROR_SEVERITY_FATAL,
900
	"cannot open output file '${file name}': ${system error}",
901
	NIL (GenericP)
902
    } UE,
903
    UB {
904
	"cannot open input file",
905
	ERROR_SEVERITY_FATAL,
906
	"cannot open input file '${file name}': ${system error}",
907
	NIL (GenericP)
908
    } UE,
909
    UB {
910
	"no memory",
911
	ERROR_SEVERITY_FATAL,
912
	"cannot allocate memory",
913
	NIL (GenericP)
914
    } UE,
915
    UB {
916
	"read error",
917
	ERROR_SEVERITY_FATAL,
918
	"error reading from file '${file name}': ${system error}",
919
	NIL (GenericP)
920
    } UE,
921
    UB {
922
	"write error",
923
	ERROR_SEVERITY_FATAL,
924
	"error writing to file '${file name}': ${system error}",
925
	NIL (GenericP)
926
    } UE,
927
    UB {
928
	"expected basic",
929
	ERROR_SEVERITY_FATAL,
930
	"${file name}: ${line number}: expected terminal '${class name}'",
931
	NIL (GenericP)
932
    } UE,
933
    UB {
934
	"expected non-terminal",
935
	ERROR_SEVERITY_FATAL,
936
	"${file name}: ${line number}: expected non-terminal '${class name}'",
937
	NIL (GenericP)
938
    } UE,
939
    UB {
940
	"duplicate action",
941
	ERROR_SEVERITY_ERROR,
942
	"${file name}: ${line number}: identifier '${identifier name}' redeclared as action",
943
	NIL (GenericP)
944
    } UE,
945
    UB {
946
	"duplicate basic",
947
	ERROR_SEVERITY_ERROR,
948
	"${file name}: ${line number}: identifier '${identifier name}' redeclared as terminal",
949
	NIL (GenericP)
950
    } UE,
951
    UB {
952
	"duplicate rule",
953
	ERROR_SEVERITY_ERROR,
954
	"${file name}: ${line number}: identifier '${identifier name}' redeclared as rule",
955
	NIL (GenericP)
956
    } UE,
957
    UB {
958
	"duplicate type",
959
	ERROR_SEVERITY_ERROR,
960
	"${file name}: ${line number}: identifier '${identifier name}' redeclared as type",
961
	NIL (GenericP)
962
    } UE,
963
    UB {
964
	"duplicate non local",
965
	ERROR_SEVERITY_ERROR,
966
	"${file name}: ${line number}: identifier '${identifier name}' redeclared as non local",
967
	NIL (GenericP)
968
    } UE,
969
    UB {
970
	"unknown action",
971
	ERROR_SEVERITY_ERROR,
972
	"${file name}: ${line number}: action '${action name}' hasn't been declared",
973
	NIL (GenericP)
974
    } UE,
975
    UB {
976
	"unknown rule",
977
	ERROR_SEVERITY_ERROR,
978
	"${file name}: ${line number}: rule '${rule name}' hasn't been declared or defined",
979
	NIL (GenericP)
980
    } UE,
981
    UB {
982
	"unknown type",
983
	ERROR_SEVERITY_ERROR,
984
	"${file name}: ${line number}: type '${type name}' hasn't been declared",
985
	NIL (GenericP)
986
    } UE,
987
    UB {
988
	"unknown rule or basic",
989
	ERROR_SEVERITY_ERROR,
990
	"${file name}: ${line number}: identifier '${identifier name}' hasn't been declared or defined",
991
	NIL (GenericP)
992
    } UE,
993
    UB {
994
	"identity mismatch",
995
	ERROR_SEVERITY_ERROR,
996
	"${file name}: ${line number}: type mismatch for identity [${erroneous type} should be ${correct type}]",
997
	NIL (GenericP)
998
    } UE,
999
    UB {
1000
	"initialiser result mismatch",
1001
	ERROR_SEVERITY_ERROR,
1002
	"${file name}: ${line number}: result type mismatch for initialiser of non local name '${name name}' [${erroneous type} should be ${correct type}]",
1003
	NIL (GenericP)
1004
    } UE,
1005
    UB {
1006
	"action result call mismatch",
1007
	ERROR_SEVERITY_ERROR,
1008
	"${file name}: ${line number}: result type mismatch for invocation of action '${action name}' [${erroneous type} should be ${correct type}]",
1009
	NIL (GenericP)
1010
    } UE,
1011
    UB {
1012
	"basic result call mismatch",
1013
	ERROR_SEVERITY_ERROR,
1014
	"${file name}: ${line number}: result type mismatch for invocation of terminal '${terminal name}' [${erroneous type} should be ${correct type}]",
1015
	NIL (GenericP)
1016
    } UE,
1017
    UB {
1018
	"rule result call mismatch",
1019
	ERROR_SEVERITY_ERROR,
1020
	"${file name}: ${line number}: result type mismatch for invocation of rule '${rule name}' [${erroneous type} should be ${correct type}]",
1021
	NIL (GenericP)
1022
    } UE,
1023
    UB {
1024
	"initialiser param mismatch",
1025
	ERROR_SEVERITY_ERROR,
1026
	"${file name}: ${line number}: parameter type mismatch for initialiser of non local name '${name name}' [${erroneous type} should be ${correct type}, ${correct ref type} or ()]",
1027
	NIL (GenericP)
1028
    } UE,
1029
    UB {
1030
	"action param call mismatch",
1031
	ERROR_SEVERITY_ERROR,
1032
	"${file name}: ${line number}: parameter type mismatch for invocation of action '${action name}' [${erroneous type} should be ${correct type}]",
1033
	NIL (GenericP)
1034
    } UE,
1035
    UB {
1036
	"basic param call mismatch",
1037
	ERROR_SEVERITY_ERROR,
1038
	"${file name}: ${line number}: parameter type mismatch for invocation of terminal '${terminal name}' [${erroneous type} should be ()])",
1039
	NIL (GenericP)
1040
    } UE,
1041
    UB {
1042
	"basic param mismatch",
1043
	ERROR_SEVERITY_ERROR,
1044
	"${file name}: ${line number}: parameter type mismatch for declaration of terminal '${terminal name}' [${erroneous type} should be ()])",
1045
	NIL (GenericP)
1046
    } UE,
1047
    UB {
1048
	"rule param call mismatch",
1049
	ERROR_SEVERITY_ERROR,
1050
	"${file name}: ${line number}: parameter type mismatch for invocation of rule '${rule name}' [${erroneous type} should be ${correct type}]",
1051
	NIL (GenericP)
1052
    } UE,
1053
    UB {
1054
	"rule param mismatch",
1055
	ERROR_SEVERITY_ERROR,
1056
	"${file name}: ${line number}: parameter type mismatch for production '${rule name}' [${erroneous type} should be ${correct type}]",
1057
	NIL (GenericP)
1058
    } UE,
1059
    UB {
1060
	"rule result mismatch",
1061
	ERROR_SEVERITY_ERROR,
1062
	"${file name}: ${line number}: result type mismatch for production '${rule name}' [${erroneous type} should be ${correct type}]",
1063
	NIL (GenericP)
1064
    } UE,
1065
    UB {
1066
	"action param mismatch",
1067
	ERROR_SEVERITY_ERROR,
1068
	"${file name}: ${line number}: parameter type mismatch for action '${action name}' [${erroneous type} should be ${correct type}]",
1069
	NIL (GenericP)
1070
    } UE,
1071
    UB {
1072
	"action result mismatch",
1073
	ERROR_SEVERITY_ERROR,
1074
	"${file name}: ${line number}: result type mismatch for action '${action name}' [${erroneous type} should be ${correct type}]",
1075
	NIL (GenericP)
1076
    } UE,
1077
    UB {
1078
	"alt result mismatch",
1079
	ERROR_SEVERITY_ERROR,
1080
	"${file name}: ${line number}: result formals are not defined in alternative ${alternative} of production '${rule name}'",
1081
	NIL (GenericP)
1082
    } UE,
1083
    UB {
1084
	"handler result mismatch",
1085
	ERROR_SEVERITY_ERROR,
1086
	"${file name}: ${line number}: result formals are not defined in exception handler alternative of production '${rule name}'",
1087
	NIL (GenericP)
1088
    } UE,
1089
    UB {
1090
	"multi predicate return",
1091
	ERROR_SEVERITY_ERROR,
1092
	"${file name}: ${line number}: result contains more than one predicate result symbol",
1093
	NIL (GenericP)
1094
    } UE,
1095
    UB {
1096
	"predicate type",
1097
	ERROR_SEVERITY_ERROR,
1098
	"${file name}: ${line number}: predicate type mismatch [${erroneous type} should be ${correct type}]",
1099
	NIL (GenericP)
1100
    } UE,
1101
    UB {
1102
	"predicate",
1103
	ERROR_SEVERITY_ERROR,
1104
	"${file name}: ${line number}: predicate result symbol used in result of something other than an action",
1105
	NIL (GenericP)
1106
    } UE,
1107
    UB {
1108
	"undefined assignment",
1109
	ERROR_SEVERITY_ERROR,
1110
	"${file name}: ${line number}: assignment to undefined name '${name name}'",
1111
	NIL (GenericP)
1112
    } UE,
1113
    UB {
1114
	"rule already defined",
1115
	ERROR_SEVERITY_ERROR,
1116
	"${file name}: ${line number}: production '${rule name}' is already defined",
1117
	NIL (GenericP)
1118
    } UE,
1119
    UB {
1120
	"rule formal clash",
1121
	ERROR_SEVERITY_ERROR,
1122
	"${file name}: ${line number}: parameter and result names are not disjoint for production '${rule name}' [parameter = ${parameter type}, result = ${result type}]",
1123
	NIL (GenericP)
1124
    } UE,
1125
    UB {
1126
	"rule param clash",
1127
	ERROR_SEVERITY_ERROR,
1128
	"${file name}: ${line number}: parameter names are not disjoint (or are missing) for production '${rule name}' [parameter = ${parameter type}]",
1129
	NIL (GenericP)
1130
    } UE,
1131
    UB {
1132
	"rule result clash",
1133
	ERROR_SEVERITY_ERROR,
1134
	"${file name}: ${line number}: result names are not disjoint (or are missing) for production '${rule name}' [result = ${result type}]",
1135
	NIL (GenericP)
1136
    } UE,
1137
    UB {
1138
	"identity result clash",
1139
	ERROR_SEVERITY_ERROR,
1140
	"${file name}: ${line number}: result names are not disjoint for identity [result = ${result type}]",
1141
	NIL (GenericP)
1142
    } UE,
1143
    UB {
1144
	"action result call clash",
1145
	ERROR_SEVERITY_ERROR,
1146
	"${file name}: ${line number}: result names are not disjoint for invocation of action '${action name}' [result = ${result type}]",
1147
	NIL (GenericP)
1148
    } UE,
1149
    UB {
1150
	"basic result call clash",
1151
	ERROR_SEVERITY_ERROR,
1152
	"${file name}: ${line number}: result names are not disjoint for invocation of terminal '${terminal name}' [result = ${result type}]",
1153
	NIL (GenericP)
1154
    } UE,
1155
    UB {
1156
	"rule result call clash",
1157
	ERROR_SEVERITY_ERROR,
1158
	"${file name}: ${line number}: result names are not disjoint for invocation of rule '${rule name}' [result = ${result type}]",
1159
	NIL (GenericP)
1160
    } UE,
1161
    UB {
1162
	"undefined name",
1163
	ERROR_SEVERITY_ERROR,
1164
	"${file name}: ${line number}: undefined parameter name '${identifier name}' in alternative ${alternative} of production '${rule name}'",
1165
	NIL (GenericP)
1166
    } UE,
1167
    UB {
1168
	"redefined name",
1169
	ERROR_SEVERITY_ERROR,
1170
	"${file name}: ${line number}: redefined name '${identifier name}' in alternative ${alternative} of production '${rule name}'",
1171
	NIL (GenericP)
1172
    } UE,
1173
    UB {
1174
	"multiple empty alts",
1175
	ERROR_SEVERITY_ERROR,
1176
	"${file name}: ${line number}: production '${rule name}' has multiple empty alternatives",
1177
	NIL (GenericP)
1178
    } UE,
1179
    UB {
1180
	"too many alternatives",
1181
	ERROR_SEVERITY_FATAL,
1182
	"${file name}: ${line number}: too many alternatives in grammar",
1183
	NIL (GenericP)
1184
    } UE,
1185
    UB {
1186
	"mult entry",
1187
	ERROR_SEVERITY_ERROR,
1188
	"${file name}: ${line number}: rule '${rule name}' occurs in the entry list more than once",
1189
	NIL (GenericP)
1190
    } UE,
1191
    UB {
1192
	"rule param has names",
1193
	ERROR_SEVERITY_ERROR,
1194
	"${file name}: ${line number}: parameter of declaration of rule '${rule name}' has names [parameter = ${parameter type}]",
1195
	NIL (GenericP)
1196
    } UE,
1197
    UB {
1198
	"rule result has names",
1199
	ERROR_SEVERITY_ERROR,
1200
	"${file name}: ${line number}: result of declaration of rule '${rule name}' has names [result = ${result type}]",
1201
	NIL (GenericP)
1202
    } UE,
1203
    UB {
1204
	"rule result has refs",
1205
	ERROR_SEVERITY_ERROR,
1206
	"${file name}: ${line number}: result of declaration or definition of rule '${rule name}' has references [result = ${result type}]",
1207
	NIL (GenericP)
1208
    } UE,
1209
    UB {
1210
	"action param has names",
1211
	ERROR_SEVERITY_ERROR,
1212
	"${file name}: ${line number}: parameter of declaration of action '${action name}' has names [parameter = ${parameter type}]",
1213
	NIL (GenericP)
1214
    } UE,
1215
    UB {
1216
	"action result has names",
1217
	ERROR_SEVERITY_ERROR,
1218
	"${file name}: ${line number}: result of declaration of action '${action name}' has names [result = ${result type}]",
1219
	NIL (GenericP)
1220
    } UE,
1221
    UB {
1222
	"action result has refs",
1223
	ERROR_SEVERITY_ERROR,
1224
	"${file name}: ${line number}: result of declaration of action '${action name}' has references [result = ${result type}]",
1225
	NIL (GenericP)
1226
    } UE,
1227
    UB {
1228
	"basic param has names",
1229
	ERROR_SEVERITY_ERROR,
1230
	"${file name}: ${line number}: parameter of declaration of terminal '${terminal name}' has names [parameter = ${parameter type}]",
1231
	NIL (GenericP)
1232
    } UE,
1233
    UB {
1234
	"basic result has names",
1235
	ERROR_SEVERITY_ERROR,
1236
	"${file name}: ${line number}: result of declaration of terminal '${terminal name}' has names [result = ${result type}]",
1237
	NIL (GenericP)
1238
    } UE,
1239
    UB {
1240
	"basic result has refs",
1241
	ERROR_SEVERITY_ERROR,
1242
	"${file name}: ${line number}: result of declaration of terminal '${terminal name}' has references [result = ${result type}]",
1243
	NIL (GenericP)
1244
    } UE,
1245
    UB {
1246
	"identity param has refs",
1247
	ERROR_SEVERITY_ERROR,
1248
	"${file name}: ${line number}: cannot take address of identity parameters in alternative ${alternative} of production '${rule name}' [parameter = ${parameter type}]",
1249
	NIL (GenericP)
1250
    } UE,
1251
    UB {
1252
	"ignored basic call",
1253
	ERROR_SEVERITY_ERROR,
1254
	"${file name}: ${line number}: invocation of ignored terminal '${terminal name}'",
1255
	NIL (GenericP)
1256
    } UE,
1257
    UB {
1258
	"ambiguous call",
1259
	ERROR_SEVERITY_ERROR,
1260
	"${file name}: ${line number}: identifier '${identifier name}' used in ambiguous context [may be name, rule or terminal]",
1261
	NIL (GenericP)
1262
    } UE,
1263
    UB {
1264
	"global scope non local",
1265
	ERROR_SEVERITY_ERROR,
1266
	"${file name}: ${line number}: definition of non local name '${name name}' at global scope",
1267
	NIL (GenericP)
1268
    } UE,
1269
    UB {
1270
	"expected typemark",
1271
	ERROR_SEVERITY_ERROR,
1272
	"${file name}: ${line number}: expected ':'",
1273
	NIL (GenericP)
1274
    } UE,
1275
    UB {
1276
	"expected identifier",
1277
	ERROR_SEVERITY_ERROR,
1278
	"${file name}: ${line number}: expected identifier",
1279
	NIL (GenericP)
1280
    } UE,
1281
    UB {
1282
	"expected tuple defn",
1283
	ERROR_SEVERITY_ERROR,
1284
	"${file name}: ${line number}: expected identifier or ':'",
1285
	NIL (GenericP)
1286
    } UE,
1287
    UB {
1288
	"expected terminal decn",
1289
	ERROR_SEVERITY_ERROR,
1290
	"${file name}: ${line number}: expected identifier or '!'",
1291
	NIL (GenericP)
1292
    } UE,
1293
    UB {
1294
	"expected separator",
1295
	ERROR_SEVERITY_ERROR,
1296
	"${file name}: ${line number}: expected ','",
1297
	NIL (GenericP)
1298
    } UE,
1299
    UB {
1300
	"expected open tuple",
1301
	ERROR_SEVERITY_ERROR,
1302
	"${file name}: ${line number}: expected '('",
1303
	NIL (GenericP)
1304
    } UE,
1305
    UB {
1306
	"expected close tuple",
1307
	ERROR_SEVERITY_ERROR,
1308
	"${file name}: ${line number}: expected ')'",
1309
	NIL (GenericP)
1310
    } UE,
1311
    UB {
1312
	"expected arrow",
1313
	ERROR_SEVERITY_ERROR,
1314
	"${file name}: ${line number}: expected '->'",
1315
	NIL (GenericP)
1316
    } UE,
1317
    UB {
1318
	"expected terminator",
1319
	ERROR_SEVERITY_ERROR,
1320
	"${file name}: ${line number}: expected ';'",
1321
	NIL (GenericP)
1322
    } UE,
1323
    UB {
1324
	"expected lhs name",
1325
	ERROR_SEVERITY_ERROR,
1326
	"${file name}: ${line number}: expected identifier, '?' or '!'",
1327
	NIL (GenericP)
1328
    } UE,
1329
    UB {
1330
	"expected rhs name",
1331
	ERROR_SEVERITY_ERROR,
1332
	"${file name}: ${line number}: expected identifier or '&'",
1333
	NIL (GenericP)
1334
    } UE,
1335
    UB {
1336
	"expected begin action",
1337
	ERROR_SEVERITY_ERROR,
1338
	"${file name}: ${line number}: expected '<'",
1339
	NIL (GenericP)
1340
    } UE,
1341
    UB {
1342
	"expected end action",
1343
	ERROR_SEVERITY_ERROR,
1344
	"${file name}: ${line number}: expected '>'",
1345
	NIL (GenericP)
1346
    } UE,
1347
    UB {
1348
	"expected end scope",
1349
	ERROR_SEVERITY_ERROR,
1350
	"${file name}: ${line number}: expected ']'",
1351
	NIL (GenericP)
1352
    } UE,
1353
    UB {
1354
	"expected tuple or term",
1355
	ERROR_SEVERITY_ERROR,
1356
	"${file name}: ${line number}: expected tuple or ';'",
1357
	NIL (GenericP)
1358
    } UE,
1359
    UB {
1360
	"expected item rhs",
1361
	ERROR_SEVERITY_ERROR,
1362
	"${file name}: ${line number}: expected item right hand side",
1363
	NIL (GenericP)
1364
    } UE,
1365
    UB {
1366
	"expected define",
1367
	ERROR_SEVERITY_ERROR,
1368
	"${file name}: ${line number}: expected '='",
1369
	NIL (GenericP)
1370
    } UE,
1371
    UB {
1372
	"expected tuple def or term",
1373
	ERROR_SEVERITY_ERROR,
1374
	"${file name}: ${line number}: expected tuple, '=' or ';'",
1375
	NIL (GenericP)
1376
    } UE,
1377
    UB {
1378
	"expected begin rule",
1379
	ERROR_SEVERITY_ERROR,
1380
	"${file name}: ${line number}: expected '{'",
1381
	NIL (GenericP)
1382
    } UE,
1383
    UB {
1384
	"expected end rule",
1385
	ERROR_SEVERITY_ERROR,
1386
	"${file name}: ${line number}: expected '}'",
1387
	NIL (GenericP)
1388
    } UE,
1389
    UB {
1390
	"expected item",
1391
	ERROR_SEVERITY_ERROR,
1392
	"${file name}: ${line number}: expected item",
1393
	NIL (GenericP)
1394
    } UE,
1395
    UB {
1396
	"expected alternative",
1397
	ERROR_SEVERITY_ERROR,
1398
	"${file name}: ${line number}: expected alternative",
1399
	NIL (GenericP)
1400
    } UE,
1401
    UB {
1402
	"expected other defn",
1403
	ERROR_SEVERITY_ERROR,
1404
	"${file name}: ${line number}: expected rule declaration or rule or non local name definition",
1405
	NIL (GenericP)
1406
    } UE,
1407
    UB {
1408
	"expected production defn",
1409
	ERROR_SEVERITY_ERROR,
1410
	"${file name}: ${line number}: expected rule declaration or definition, or action declaration",
1411
	NIL (GenericP)
1412
    } UE,
1413
    UB {
1414
	"expected blt types",
1415
	ERROR_SEVERITY_ERROR,
1416
	"${file name}: ${line number}: expected '%types%'",
1417
	NIL (GenericP)
1418
    } UE,
1419
    UB {
1420
	"expected blt terminals",
1421
	ERROR_SEVERITY_ERROR,
1422
	"${file name}: ${line number}: expected '%terminals%'",
1423
	NIL (GenericP)
1424
    } UE,
1425
    UB {
1426
	"expected blt productions",
1427
	ERROR_SEVERITY_ERROR,
1428
	"${file name}: ${line number}: expected '%productions%'",
1429
	NIL (GenericP)
1430
    } UE,
1431
    UB {
1432
	"expected blt entry",
1433
	ERROR_SEVERITY_ERROR,
1434
	"${file name}: ${line number}: expected '%entry%'",
1435
	NIL (GenericP)
1436
    } UE,
1437
    UB {
1438
	"expected eof",
1439
	ERROR_SEVERITY_ERROR,
1440
	"${file name}: ${line number}: expected end of file",
1441
	NIL (GenericP)
1442
    } UE,
1443
    UB {
1444
	"expected terminator or define",
1445
	ERROR_SEVERITY_ERROR,
1446
	"${file name}: ${line number}: expected ';' or '='",
1447
	NIL (GenericP)
1448
    } UE,
1449
    UB {
1450
	"first set collision",
1451
	ERROR_SEVERITY_ERROR,
1452
	"collision of terminal(s) ${terminal names} in rule '${rule name}'",
1453
	NIL (GenericP)
1454
    } UE,
1455
    UB {
1456
	"predicate collision",
1457
	ERROR_SEVERITY_ERROR,
1458
	"collision of predicate '${predicate name}' in rule '${rule name}'",
1459
	NIL (GenericP)
1460
    } UE,
1461
    UB {
1462
	"predicate list collision",
1463
	ERROR_SEVERITY_ERROR,
1464
	"collision of predicates ${predicate names} in rule '${rule name}'",
1465
	NIL (GenericP)
1466
    } UE,
1467
    UB {
1468
	"follow set collision",
1469
	ERROR_SEVERITY_ERROR,
1470
	"the terminal(s) ${terminal names} can start rule '${rule name}' which is see through, and the same terminal(s) may appear in the following situations:\n${clashes}",
1471
	NIL (GenericP)
1472
    } UE,
1473
    UB {
1474
	"predicate follow set coll",
1475
	ERROR_SEVERITY_ERROR,
1476
	"the predicate(s) ${predicate names} can start rule '${rule name}' which is see through, and the same predicate(s) may appear in the following situations:${clashes}",
1477
	NIL (GenericP)
1478
    } UE,
1479
    UB {
1480
	"multiple see through alts",
1481
	ERROR_SEVERITY_ERROR,
1482
	"the rule '${rule name}' contains more than one see through alternative",
1483
	NIL (GenericP)
1484
    } UE,
1485
    UB {
1486
	"too many factorisations",
1487
	ERROR_SEVERITY_FATAL,
1488
	"too many productions (${number productions}) created during factorisation",
1489
	NIL (GenericP)
1490
    } UE,
1491
    UB {
1492
	"factor handler mismatch",
1493
	ERROR_SEVERITY_ERROR,
1494
	"the rule '${inner rule name}' cannot be expanded into '${outer rule name}' as the exception handlers don't match",
1495
	NIL (GenericP)
1496
    } UE,
1497
    UB {
1498
	"factor nl entry",
1499
	ERROR_SEVERITY_ERROR,
1500
	"the rule '${inner rule name}' cannot be expanded into '${outer rule name}' as it contains non local name definitions",
1501
	NIL (GenericP)
1502
    } UE,
1503
    UB {
1504
	"cannot compute first set",
1505
	ERROR_SEVERITY_ERROR,
1506
	"cannot compute first set for production\n${production}",
1507
	NIL (GenericP)
1508
    } UE,
1509
    UB {
1510
	"see to predicate",
1511
	ERROR_SEVERITY_ERROR,
1512
	"can see through to predicate '${predicate}' in production\n${production}",
1513
	NIL (GenericP)
1514
    } UE,
1515
    UB {
1516
	"see to rule predicate",
1517
	ERROR_SEVERITY_ERROR,
1518
	"can see through to predicates in rule '${inner rule name}' in production\n${outer production}",
1519
	NIL (GenericP)
1520
    } UE,
1521
    UB {
1522
	"redundant see through alt",
1523
	ERROR_SEVERITY_ERROR,
1524
	"the rule '${rule name}' has all terminals in its first set and has a redundant see through alternative",
1525
	NIL (GenericP)
1526
    } UE,
1527
    UB {
1528
	"left recursion type mismatch",
1529
	ERROR_SEVERITY_ERROR,
1530
	"the parameter or result types of the left recursive calls in the following productions do not match:\n${productions}",
1531
	NIL (GenericP)
1532
    } UE,
1533
    UB {
1534
	"left rec handler mismatch",
1535
	ERROR_SEVERITY_ERROR,
1536
	"the exception handlers in the left recursion involving the following productions do not match:\n${productions}",
1537
	NIL (GenericP)
1538
    } UE,
1539
    UB {
1540
	"left recursion name mismatch",
1541
	ERROR_SEVERITY_ERROR,
1542
	"the argument names of the left recursive calls in the following productions do not match:\n${productions}",
1543
	NIL (GenericP)
1544
    } UE,
1545
    UB {
1546
	"out of scope non local",
1547
	ERROR_SEVERITY_ERROR,
1548
	"a non local name in the rule '${using rule name}' is not in scope in the rule '${out of scope rule name}' in the left recursive cycle involving the following productions:\n${productions}",
1549
	NIL (GenericP)
1550
    } UE,
1551
    UB {
1552
	"left recursion nl entry",
1553
	ERROR_SEVERITY_ERROR,
1554
	"the rule '${rule name}' declares non local names in the left recursive cycle with more than one entry point involving the following productions:\n${productions}",
1555
	NIL (GenericP)
1556
    } UE,
1557
    UB {
1558
	"cycle no terminator",
1559
	ERROR_SEVERITY_ERROR,
1560
	"no cycle termination for the left recursive set involving the following rules: ${rule names}",
1561
	NIL (GenericP)
1562
    } UE,
1563
    UB {
1564
	"shadows non local",
1565
	ERROR_SEVERITY_ERROR,
1566
	"${file name}: ${line number}: the name '${name name}' shadows the non local name '${non local name name}' in rule '${rule name}'",
1567
	NIL (GenericP)
1568
    } UE,
1569
    UB {
1570
	"shadows global",
1571
	ERROR_SEVERITY_ERROR,
1572
	"${file name}: ${line number}: the name '${name name}' shadows a global name in rule '${rule name}'",
1573
	NIL (GenericP)
1574
    } UE,
1575
    UB {
1576
	"too many generated ids",
1577
	ERROR_SEVERITY_FATAL,
1578
	"too many automatically generated identifiers required",
1579
	NIL (GenericP)
1580
    } UE,
1581
    UB {
1582
	"too many generated names",
1583
	ERROR_SEVERITY_FATAL,
1584
	"too many automatically generated names required",
1585
	NIL (GenericP)
1586
    } UE,
1587
    ERROR_END_ERROR_LIST
1588
};
1589
 
1590
struct ES_00000 {
1591
    CStringP                  option;
1592
    ArgUsageP                 usage;
1593
};
1594
struct ES_00001 {
1595
    CStringP                  option;
1596
    CStringP                  option_location;
1597
    ArgUsageP                 usage;
1598
};
1599
struct ES_00002 {
1600
    KeyP                      basic_name;
1601
};
1602
struct ES_00003 {
1603
    KeyP                      action_name;
1604
};
1605
struct ES_00004 {
1606
    KeyP                      type_name;
1607
};
1608
struct ES_00005 {
1609
    CStringP                  file_name;
1610
    unsigned                  line_number;
1611
    EntryP                    identifier_name;
1612
};
1613
struct ES_00006 {
1614
    CStringP                  file_name;
1615
    unsigned                  line_number;
1616
};
1617
struct ES_00007 {
1618
    CStringP                  file_name;
1619
    unsigned                  line_number;
1620
    char                      character;
1621
};
1622
struct ES_00008 {
1623
    CStringP                  file_name;
1624
    unsigned                  line_number;
1625
    CStringP                  builtin;
1626
};
1627
struct ES_00009 {
1628
    CStringP                  file_name;
1629
    unsigned                  line_number;
1630
    CStringP                  class_name;
1631
};
1632
struct ES_00010 {
1633
    CStringP                  file_name;
1634
    unsigned                  line_number;
1635
    NStringP                  prefix;
1636
};
1637
struct ES_00011 {
1638
    CStringP                  file_name;
1639
    unsigned                  line_number;
1640
    NStringP                  identifier_name;
1641
};
1642
struct ES_00012 {
1643
    CStringP                  file_name;
1644
    unsigned                  line_number;
1645
    NStringP                  type_name;
1646
};
1647
struct ES_00013 {
1648
    CStringP                  file_name;
1649
    unsigned                  line_number;
1650
    KeyP                      type_name;
1651
    TypeTupleP                parameter_type;
1652
};
1653
struct ES_00014 {
1654
    CStringP                  file_name;
1655
    unsigned                  line_number;
1656
    KeyP                      type_name;
1657
    TypeTupleP                correct_type;
1658
    TypeTupleP                erroneous_type;
1659
};
1660
struct ES_00015 {
1661
    CStringP                  file_name;
1662
    unsigned                  line_number;
1663
    KeyP                      type_name;
1664
    TypeTupleP                result_type;
1665
};
1666
struct ES_00016 {
1667
    CStringP                  file_name;
1668
    unsigned                  line_number;
1669
    KeyP                      type_name;
1670
    TypeTupleP                parameter_type;
1671
    TypeTupleP                result_type;
1672
};
1673
struct ES_00017 {
1674
    CStringP                  file_name;
1675
    unsigned                  line_number;
1676
    NStringP                  action_name;
1677
};
1678
struct ES_00018 {
1679
    CStringP                  file_name;
1680
    unsigned                  line_number;
1681
    KeyP                      action_name;
1682
    TypeTupleP                parameter_type;
1683
};
1684
struct ES_00019 {
1685
    CStringP                  file_name;
1686
    unsigned                  line_number;
1687
    KeyP                      action_name;
1688
    TypeTupleP                correct_type;
1689
    TypeTupleP                erroneous_type;
1690
};
1691
struct ES_00020 {
1692
    CStringP                  file_name;
1693
    unsigned                  line_number;
1694
    KeyP                      action_name;
1695
    TypeTupleP                result_type;
1696
};
1697
struct ES_00021 {
1698
    CStringP                  file_name;
1699
    unsigned                  line_number;
1700
    KeyP                      action_name;
1701
    TypeTupleP                parameter_type;
1702
    TypeTupleP                result_type;
1703
};
1704
struct ES_00022 {
1705
    CStringP                  file_name;
1706
    unsigned                  line_number;
1707
    NStringP                  terminal_name;
1708
};
1709
struct ES_00023 {
1710
    CStringP                  file_name;
1711
    unsigned                  line_number;
1712
    KeyP                      terminal_name;
1713
    TypeTupleP                parameter_type;
1714
};
1715
struct ES_00024 {
1716
    CStringP                  file_name;
1717
    unsigned                  line_number;
1718
    KeyP                      terminal_name;
1719
    TypeTupleP                erroneous_type;
1720
};
1721
struct ES_00025 {
1722
    CStringP                  file_name;
1723
    unsigned                  line_number;
1724
    KeyP                      terminal_name;
1725
    TypeTupleP                result_type;
1726
};
1727
struct ES_00026 {
1728
    CStringP                  file_name;
1729
    unsigned                  line_number;
1730
    KeyP                      terminal_name;
1731
    TypeTupleP                correct_type;
1732
    TypeTupleP                erroneous_type;
1733
};
1734
struct ES_00027 {
1735
    CStringP                  file_name;
1736
    unsigned                  line_number;
1737
    KeyP                      terminal_name;
1738
    TypeTupleP                parameter_type;
1739
    TypeTupleP                result_type;
1740
};
1741
struct ES_00028 {
1742
    CStringP                  file_name;
1743
    unsigned                  line_number;
1744
    CStringP                  builtin_name;
1745
};
1746
struct ES_00029 {
1747
    CStringP                  file_name;
1748
    unsigned                  line_number;
1749
    CStringP                  string_name;
1750
};
1751
struct ES_00030 {
1752
    CStringP                  file_name;
1753
    unsigned                  line_number;
1754
    CStringP                  error_name;
1755
};
1756
struct ES_00031 {
1757
    CStringP                  file_name;
1758
    unsigned                  line_number;
1759
    CStringP                  message;
1760
};
1761
struct ES_00032 {
1762
    CStringP                  file_name;
1763
    int                       system_error;
1764
};
1765
struct ES_00033 {
1766
    ExceptionP                except_name;
1767
    CStringP                  file_name;
1768
    unsigned                  line_number;
1769
};
1770
struct ES_00034 {
1771
    CStringP                  assertion;
1772
    CStringP                  file_name;
1773
    unsigned                  line_number;
1774
};
1775
struct ES_00035 {
1776
    GenericP                  block_address;
1777
    CStringP                  file_name;
1778
    unsigned                  line_number;
1779
    CStringP                  allocation_file_name;
1780
    unsigned                  allocation_line_number;
1781
};
1782
struct ES_00036 {
1783
    GenericP                  block_address;
1784
    CStringP                  file_name;
1785
    unsigned                  line_number;
1786
};
1787
struct ES_00037 {
1788
    KeyP                      rule_name;
1789
};
1790
struct ES_00038 {
1791
    KeyP                      non_local_name_name;
1792
};
1793
struct ES_00039 {
1794
    CStringP                  tab_width;
1795
};
1796
struct ES_00040 {
1797
    CStringP                  factor_limit;
1798
};
1799
struct ES_00041 {
1800
    CStringP                  phase;
1801
};
1802
struct ES_00042 {
1803
    CStringP                  language_name;
1804
};
1805
struct ES_00043 {
1806
    CStringP                  language_name;
1807
    CStringP                  option;
1808
};
1809
struct ES_00044 {
1810
    CStringP                  split_size;
1811
};
1812
struct ES_00045 {
1813
    CStringP                  language_name;
1814
    unsigned                  number_input_files;
1815
    unsigned                  number_output_files;
1816
    ArgUsageP                 usage;
1817
};
1818
struct ES_00046 {
1819
    CStringP                  file_name;
1820
    unsigned                  line_number;
1821
    NStringP                  rule_name;
1822
};
1823
struct ES_00047 {
1824
    CStringP                  file_name;
1825
    unsigned                  line_number;
1826
    TypeTupleP                correct_type;
1827
    TypeTupleP                erroneous_type;
1828
};
1829
struct ES_00048 {
1830
    CStringP                  file_name;
1831
    unsigned                  line_number;
1832
    KeyP                      name_name;
1833
    TypeTupleP                correct_type;
1834
    TypeTupleP                erroneous_type;
1835
};
1836
struct ES_00049 {
1837
    CStringP                  file_name;
1838
    unsigned                  line_number;
1839
    KeyP                      rule_name;
1840
    TypeTupleP                correct_type;
1841
    TypeTupleP                erroneous_type;
1842
};
1843
struct ES_00050 {
1844
    CStringP                  file_name;
1845
    unsigned                  line_number;
1846
    KeyP                      name_name;
1847
    TypeTupleP                correct_type;
1848
    TypeTupleP                correct_ref_type;
1849
    TypeTupleP                erroneous_type;
1850
};
1851
struct ES_00051 {
1852
    CStringP                  file_name;
1853
    unsigned                  line_number;
1854
    KeyP                      rule_name;
1855
    unsigned                  alternative;
1856
};
1857
struct ES_00052 {
1858
    CStringP                  file_name;
1859
    unsigned                  line_number;
1860
    KeyP                      rule_name;
1861
};
1862
struct ES_00053 {
1863
    CStringP                  file_name;
1864
    unsigned                  line_number;
1865
    EntryP                    correct_type;
1866
    EntryP                    erroneous_type;
1867
};
1868
struct ES_00054 {
1869
    CStringP                  file_name;
1870
    unsigned                  line_number;
1871
    NStringP                  name_name;
1872
};
1873
struct ES_00055 {
1874
    CStringP                  file_name;
1875
    unsigned                  line_number;
1876
    KeyP                      rule_name;
1877
    TypeTupleP                parameter_type;
1878
    TypeTupleP                result_type;
1879
};
1880
struct ES_00056 {
1881
    CStringP                  file_name;
1882
    unsigned                  line_number;
1883
    KeyP                      rule_name;
1884
    TypeTupleP                parameter_type;
1885
};
1886
struct ES_00057 {
1887
    CStringP                  file_name;
1888
    unsigned                  line_number;
1889
    KeyP                      rule_name;
1890
    TypeTupleP                result_type;
1891
};
1892
struct ES_00058 {
1893
    CStringP                  file_name;
1894
    unsigned                  line_number;
1895
    TypeTupleP                result_type;
1896
};
1897
struct ES_00059 {
1898
    CStringP                  file_name;
1899
    unsigned                  line_number;
1900
    KeyP                      identifier_name;
1901
    KeyP                      rule_name;
1902
    unsigned                  alternative;
1903
};
1904
struct ES_00060 {
1905
    CStringP                  file_name;
1906
    unsigned                  line_number;
1907
    TypeTupleP                parameter_type;
1908
    KeyP                      rule_name;
1909
    unsigned                  alternative;
1910
};
1911
struct ES_00061 {
1912
    RuleP                     rule_name;
1913
    RuleP                     production;
1914
    BasicClosureP             terminal_names;
1915
};
1916
struct ES_00062 {
1917
    RuleP                     rule_name;
1918
    RuleP                     production;
1919
    KeyP                      predicate_name;
1920
};
1921
struct ES_00063 {
1922
    RuleP                     rule_name;
1923
    RuleP                     production;
1924
    EntryListP                predicate_names;
1925
};
1926
struct ES_00064 {
1927
    RuleP                     rule_name;
1928
    RuleP                     production;
1929
    BasicClosureP             terminal_names;
1930
    ClashListP                clashes;
1931
};
1932
struct ES_00065 {
1933
    RuleP                     rule_name;
1934
    RuleP                     production;
1935
    EntryListP                predicate_names;
1936
    ClashListP                clashes;
1937
};
1938
struct ES_00066 {
1939
    RuleP                     rule_name;
1940
    RuleP                     production;
1941
};
1942
struct ES_00067 {
1943
    unsigned                  number_productions;
1944
};
1945
struct ES_00068 {
1946
    RuleP                     inner_rule_name;
1947
    RuleP                     outer_rule_name;
1948
    RuleP                     inner_production;
1949
    RuleP                     outer_production;
1950
};
1951
struct ES_00069 {
1952
    RuleP                     production;
1953
    RuleP                     rule_name;
1954
};
1955
struct ES_00070 {
1956
    KeyP                      predicate;
1957
    RuleP                     production;
1958
    RuleP                     rule_name;
1959
};
1960
struct ES_00071 {
1961
    RuleP                     inner_production;
1962
    RuleP                     inner_rule_name;
1963
    RuleP                     outer_production;
1964
    RuleP                     outer_rule_name;
1965
};
1966
struct ES_00072 {
1967
    RuleP                     productions;
1968
    RuleP                     rule_names;
1969
};
1970
struct ES_00073 {
1971
    RuleP                     using_production;
1972
    RuleP                     using_rule_name;
1973
    RuleP                     out_of_scope_production;
1974
    RuleP                     out_of_scope_rule_name;
1975
    RuleP                     productions;
1976
    RuleP                     rule_names;
1977
};
1978
struct ES_00074 {
1979
    RuleP                     production;
1980
    RuleP                     rule_name;
1981
    RuleP                     productions;
1982
    RuleP                     rule_names;
1983
};
1984
struct ES_00075 {
1985
    RuleP                     rule_names;
1986
};
1987
struct ES_00076 {
1988
    CStringP                  file_name;
1989
    unsigned                  line_number;
1990
    KeyP                      name_name;
1991
    KeyP                      non_local_name_name;
1992
    RuleP                     production;
1993
    RuleP                     rule_name;
1994
};
1995
struct ES_00077 {
1996
    CStringP                  file_name;
1997
    unsigned                  line_number;
1998
    KeyP                      name_name;
1999
    RuleP                     production;
2000
    RuleP                     rule_name;
2001
};
2002
 
2003
static void
2004
ET_00000 PROTO_N ((ostream, tag, gclosure))
2005
         PROTO_T (OStreamP ostream X
2006
                  ETagP    tag X
2007
                  GenericP gclosure)
2008
{
2009
    struct ES_00000 *closure = (struct ES_00000 *) gclosure;
2010
 
2011
    if (tag == ET [0].tag) {
2012
	    write_cstring (ostream, closure->option);
2013
    } else if (tag == ET [1].tag) {
2014
	    write_arg_usage (ostream, closure->usage);
2015
    }
2016
}
2017
static void
2018
ET_00001 PROTO_N ((ostream, tag, gclosure))
2019
         PROTO_T (OStreamP ostream X
2020
                  ETagP    tag X
2021
                  GenericP gclosure)
2022
{
2023
    struct ES_00001 *closure = (struct ES_00001 *) gclosure;
2024
 
2025
    if (tag == ET [0].tag) {
2026
	    write_cstring (ostream, closure->option);
2027
    } else if (tag == ET [2].tag) {
2028
	    write_cstring (ostream, closure->option_location);
2029
    } else if (tag == ET [1].tag) {
2030
	    write_arg_usage (ostream, closure->usage);
2031
    }
2032
}
2033
static void
2034
ET_00002 PROTO_N ((ostream, tag, gclosure))
2035
         PROTO_T (OStreamP ostream X
2036
                  ETagP    tag X
2037
                  GenericP gclosure)
2038
{
2039
    struct ES_00002 *closure = (struct ES_00002 *) gclosure;
2040
 
2041
    if (tag == ET [3].tag) {
2042
	    write_key (ostream, closure->basic_name);
2043
    }
2044
}
2045
static void
2046
ET_00003 PROTO_N ((ostream, tag, gclosure))
2047
         PROTO_T (OStreamP ostream X
2048
                  ETagP    tag X
2049
                  GenericP gclosure)
2050
{
2051
    struct ES_00003 *closure = (struct ES_00003 *) gclosure;
2052
 
2053
    if (tag == ET [4].tag) {
2054
	    write_key (ostream, closure->action_name);
2055
    }
2056
}
2057
static void
2058
ET_00004 PROTO_N ((ostream, tag, gclosure))
2059
         PROTO_T (OStreamP ostream X
2060
                  ETagP    tag X
2061
                  GenericP gclosure)
2062
{
2063
    struct ES_00004 *closure = (struct ES_00004 *) gclosure;
2064
 
2065
    if (tag == ET [5].tag) {
2066
	    write_key (ostream, closure->type_name);
2067
    }
2068
}
2069
static void
2070
ET_00005 PROTO_N ((ostream, tag, gclosure))
2071
         PROTO_T (OStreamP ostream X
2072
                  ETagP    tag X
2073
                  GenericP gclosure)
2074
{
2075
    struct ES_00005 *closure = (struct ES_00005 *) gclosure;
2076
 
2077
    if (tag == ET [6].tag) {
2078
	    write_cstring (ostream, closure->file_name);
2079
    } else if (tag == ET [7].tag) {
2080
	    write_unsigned (ostream, closure->line_number);
2081
    } else if (tag == ET [8].tag) {
2082
	    write_key (ostream, entry_key (closure->identifier_name));
2083
    }
2084
}
2085
static void
2086
ET_00006 PROTO_N ((ostream, tag, gclosure))
2087
         PROTO_T (OStreamP ostream X
2088
                  ETagP    tag X
2089
                  GenericP gclosure)
2090
{
2091
    struct ES_00006 *closure = (struct ES_00006 *) gclosure;
2092
 
2093
    if (tag == ET [6].tag) {
2094
	    write_cstring (ostream, closure->file_name);
2095
    } else if (tag == ET [7].tag) {
2096
	    write_unsigned (ostream, closure->line_number);
2097
    }
2098
}
2099
static void
2100
ET_00007 PROTO_N ((ostream, tag, gclosure))
2101
         PROTO_T (OStreamP ostream X
2102
                  ETagP    tag X
2103
                  GenericP gclosure)
2104
{
2105
    struct ES_00007 *closure = (struct ES_00007 *) gclosure;
2106
 
2107
    if (tag == ET [6].tag) {
2108
	    write_cstring (ostream, closure->file_name);
2109
    } else if (tag == ET [7].tag) {
2110
	    write_unsigned (ostream, closure->line_number);
2111
    } else if (tag == ET [9].tag) {
2112
	    write_escaped_char (ostream, closure->character);
2113
    }
2114
}
2115
static void
2116
ET_00008 PROTO_N ((ostream, tag, gclosure))
2117
         PROTO_T (OStreamP ostream X
2118
                  ETagP    tag X
2119
                  GenericP gclosure)
2120
{
2121
    struct ES_00008 *closure = (struct ES_00008 *) gclosure;
2122
 
2123
    if (tag == ET [6].tag) {
2124
	    write_cstring (ostream, closure->file_name);
2125
    } else if (tag == ET [7].tag) {
2126
	    write_unsigned (ostream, closure->line_number);
2127
    } else if (tag == ET [10].tag) {
2128
	    write_cstring (ostream, closure->builtin);
2129
    }
2130
}
2131
static void
2132
ET_00009 PROTO_N ((ostream, tag, gclosure))
2133
         PROTO_T (OStreamP ostream X
2134
                  ETagP    tag X
2135
                  GenericP gclosure)
2136
{
2137
    struct ES_00007 *closure = (struct ES_00007 *) gclosure;
2138
 
2139
    if (tag == ET [6].tag) {
2140
	    write_cstring (ostream, closure->file_name);
2141
    } else if (tag == ET [7].tag) {
2142
	    write_unsigned (ostream, closure->line_number);
2143
    } else if (tag == ET [9].tag) {
2144
	    write_char (ostream, closure->character);
2145
    }
2146
}
2147
static void
2148
ET_00010 PROTO_N ((ostream, tag, gclosure))
2149
         PROTO_T (OStreamP ostream X
2150
                  ETagP    tag X
2151
                  GenericP gclosure)
2152
{
2153
    struct ES_00009 *closure = (struct ES_00009 *) gclosure;
2154
 
2155
    if (tag == ET [6].tag) {
2156
	    write_cstring (ostream, closure->file_name);
2157
    } else if (tag == ET [7].tag) {
2158
	    write_unsigned (ostream, closure->line_number);
2159
    } else if (tag == ET [11].tag) {
2160
	    write_cstring (ostream, closure->class_name);
2161
    }
2162
}
2163
static void
2164
ET_00011 PROTO_N ((ostream, tag, gclosure))
2165
         PROTO_T (OStreamP ostream X
2166
                  ETagP    tag X
2167
                  GenericP gclosure)
2168
{
2169
    struct ES_00010 *closure = (struct ES_00010 *) gclosure;
2170
 
2171
    if (tag == ET [6].tag) {
2172
	    write_cstring (ostream, closure->file_name);
2173
    } else if (tag == ET [7].tag) {
2174
	    write_unsigned (ostream, closure->line_number);
2175
    } else if (tag == ET [12].tag) {
2176
	    write_nstring (ostream, closure->prefix);
2177
    }
2178
}
2179
static void
2180
ET_00012 PROTO_N ((ostream, tag, gclosure))
2181
         PROTO_T (OStreamP ostream X
2182
                  ETagP    tag X
2183
                  GenericP gclosure)
2184
{
2185
    struct ES_00011 *closure = (struct ES_00011 *) gclosure;
2186
 
2187
    if (tag == ET [6].tag) {
2188
	    write_cstring (ostream, closure->file_name);
2189
    } else if (tag == ET [7].tag) {
2190
	    write_unsigned (ostream, closure->line_number);
2191
    } else if (tag == ET [8].tag) {
2192
	    write_nstring (ostream, closure->identifier_name);
2193
    }
2194
}
2195
static void
2196
ET_00013 PROTO_N ((ostream, tag, gclosure))
2197
         PROTO_T (OStreamP ostream X
2198
                  ETagP    tag X
2199
                  GenericP gclosure)
2200
{
2201
    struct ES_00012 *closure = (struct ES_00012 *) gclosure;
2202
 
2203
    if (tag == ET [6].tag) {
2204
	    write_cstring (ostream, closure->file_name);
2205
    } else if (tag == ET [7].tag) {
2206
	    write_unsigned (ostream, closure->line_number);
2207
    } else if (tag == ET [5].tag) {
2208
	    write_nstring (ostream, closure->type_name);
2209
    }
2210
}
2211
static void
2212
ET_00014 PROTO_N ((ostream, tag, gclosure))
2213
         PROTO_T (OStreamP ostream X
2214
                  ETagP    tag X
2215
                  GenericP gclosure)
2216
{
2217
    struct ES_00013 *closure = (struct ES_00013 *) gclosure;
2218
 
2219
    if (tag == ET [6].tag) {
2220
	    write_cstring (ostream, closure->file_name);
2221
    } else if (tag == ET [7].tag) {
2222
	    write_unsigned (ostream, closure->line_number);
2223
    } else if (tag == ET [5].tag) {
2224
	    write_key (ostream, closure->type_name);
2225
    } else if (tag == ET [13].tag) {
2226
	    write_type_names (ostream, closure->parameter_type, FALSE);
2227
    }
2228
}
2229
static void
2230
ET_00015 PROTO_N ((ostream, tag, gclosure))
2231
         PROTO_T (OStreamP ostream X
2232
                  ETagP    tag X
2233
                  GenericP gclosure)
2234
{
2235
    struct ES_00014 *closure = (struct ES_00014 *) gclosure;
2236
 
2237
    if (tag == ET [6].tag) {
2238
	    write_cstring (ostream, closure->file_name);
2239
    } else if (tag == ET [7].tag) {
2240
	    write_unsigned (ostream, closure->line_number);
2241
    } else if (tag == ET [5].tag) {
2242
	    write_key (ostream, closure->type_name);
2243
    } else if (tag == ET [14].tag) {
2244
	    write_type_types (ostream, closure->correct_type);
2245
    } else if (tag == ET [15].tag) {
2246
	    write_type_types (ostream, closure->erroneous_type);
2247
    }
2248
}
2249
static void
2250
ET_00016 PROTO_N ((ostream, tag, gclosure))
2251
         PROTO_T (OStreamP ostream X
2252
                  ETagP    tag X
2253
                  GenericP gclosure)
2254
{
2255
    struct ES_00015 *closure = (struct ES_00015 *) gclosure;
2256
 
2257
    if (tag == ET [6].tag) {
2258
	    write_cstring (ostream, closure->file_name);
2259
    } else if (tag == ET [7].tag) {
2260
	    write_unsigned (ostream, closure->line_number);
2261
    } else if (tag == ET [5].tag) {
2262
	    write_key (ostream, closure->type_name);
2263
    } else if (tag == ET [16].tag) {
2264
	    write_type_names (ostream, closure->result_type, FALSE);
2265
    }
2266
}
2267
static void
2268
ET_00017 PROTO_N ((ostream, tag, gclosure))
2269
         PROTO_T (OStreamP ostream X
2270
                  ETagP    tag X
2271
                  GenericP gclosure)
2272
{
2273
    struct ES_00016 *closure = (struct ES_00016 *) gclosure;
2274
 
2275
    if (tag == ET [6].tag) {
2276
	    write_cstring (ostream, closure->file_name);
2277
    } else if (tag == ET [7].tag) {
2278
	    write_unsigned (ostream, closure->line_number);
2279
    } else if (tag == ET [5].tag) {
2280
	    write_key (ostream, closure->type_name);
2281
    } else if (tag == ET [13].tag) {
2282
	    write_type_names (ostream, closure->parameter_type, FALSE);
2283
    } else if (tag == ET [16].tag) {
2284
	    write_type_names (ostream, closure->result_type, FALSE);
2285
    }
2286
}
2287
static void
2288
ET_00018 PROTO_N ((ostream, tag, gclosure))
2289
         PROTO_T (OStreamP ostream X
2290
                  ETagP    tag X
2291
                  GenericP gclosure)
2292
{
2293
    struct ES_00017 *closure = (struct ES_00017 *) gclosure;
2294
 
2295
    if (tag == ET [6].tag) {
2296
	    write_cstring (ostream, closure->file_name);
2297
    } else if (tag == ET [7].tag) {
2298
	    write_unsigned (ostream, closure->line_number);
2299
    } else if (tag == ET [4].tag) {
2300
	    write_nstring (ostream, closure->action_name);
2301
    }
2302
}
2303
static void
2304
ET_00019 PROTO_N ((ostream, tag, gclosure))
2305
         PROTO_T (OStreamP ostream X
2306
                  ETagP    tag X
2307
                  GenericP gclosure)
2308
{
2309
    struct ES_00018 *closure = (struct ES_00018 *) gclosure;
2310
 
2311
    if (tag == ET [6].tag) {
2312
	    write_cstring (ostream, closure->file_name);
2313
    } else if (tag == ET [7].tag) {
2314
	    write_unsigned (ostream, closure->line_number);
2315
    } else if (tag == ET [4].tag) {
2316
	    write_key (ostream, closure->action_name);
2317
    } else if (tag == ET [13].tag) {
2318
	    write_type_names (ostream, closure->parameter_type, FALSE);
2319
    }
2320
}
2321
static void
2322
ET_00020 PROTO_N ((ostream, tag, gclosure))
2323
         PROTO_T (OStreamP ostream X
2324
                  ETagP    tag X
2325
                  GenericP gclosure)
2326
{
2327
    struct ES_00019 *closure = (struct ES_00019 *) gclosure;
2328
 
2329
    if (tag == ET [6].tag) {
2330
	    write_cstring (ostream, closure->file_name);
2331
    } else if (tag == ET [7].tag) {
2332
	    write_unsigned (ostream, closure->line_number);
2333
    } else if (tag == ET [4].tag) {
2334
	    write_key (ostream, closure->action_name);
2335
    } else if (tag == ET [14].tag) {
2336
	    write_type_types (ostream, closure->correct_type);
2337
    } else if (tag == ET [15].tag) {
2338
	    write_type_types (ostream, closure->erroneous_type);
2339
    }
2340
}
2341
static void
2342
ET_00021 PROTO_N ((ostream, tag, gclosure))
2343
         PROTO_T (OStreamP ostream X
2344
                  ETagP    tag X
2345
                  GenericP gclosure)
2346
{
2347
    struct ES_00020 *closure = (struct ES_00020 *) gclosure;
2348
 
2349
    if (tag == ET [6].tag) {
2350
	    write_cstring (ostream, closure->file_name);
2351
    } else if (tag == ET [7].tag) {
2352
	    write_unsigned (ostream, closure->line_number);
2353
    } else if (tag == ET [4].tag) {
2354
	    write_key (ostream, closure->action_name);
2355
    } else if (tag == ET [16].tag) {
2356
	    write_type_names (ostream, closure->result_type, FALSE);
2357
    }
2358
}
2359
static void
2360
ET_00022 PROTO_N ((ostream, tag, gclosure))
2361
         PROTO_T (OStreamP ostream X
2362
                  ETagP    tag X
2363
                  GenericP gclosure)
2364
{
2365
    struct ES_00021 *closure = (struct ES_00021 *) gclosure;
2366
 
2367
    if (tag == ET [6].tag) {
2368
	    write_cstring (ostream, closure->file_name);
2369
    } else if (tag == ET [7].tag) {
2370
	    write_unsigned (ostream, closure->line_number);
2371
    } else if (tag == ET [4].tag) {
2372
	    write_key (ostream, closure->action_name);
2373
    } else if (tag == ET [13].tag) {
2374
	    write_type_names (ostream, closure->parameter_type, FALSE);
2375
    } else if (tag == ET [16].tag) {
2376
	    write_type_names (ostream, closure->result_type, FALSE);
2377
    }
2378
}
2379
static void
2380
ET_00023 PROTO_N ((ostream, tag, gclosure))
2381
         PROTO_T (OStreamP ostream X
2382
                  ETagP    tag X
2383
                  GenericP gclosure)
2384
{
2385
    struct ES_00022 *closure = (struct ES_00022 *) gclosure;
2386
 
2387
    if (tag == ET [6].tag) {
2388
	    write_cstring (ostream, closure->file_name);
2389
    } else if (tag == ET [7].tag) {
2390
	    write_unsigned (ostream, closure->line_number);
2391
    } else if (tag == ET [17].tag) {
2392
	    write_nstring (ostream, closure->terminal_name);
2393
    }
2394
}
2395
static void
2396
ET_00024 PROTO_N ((ostream, tag, gclosure))
2397
         PROTO_T (OStreamP ostream X
2398
                  ETagP    tag X
2399
                  GenericP gclosure)
2400
{
2401
    struct ES_00023 *closure = (struct ES_00023 *) gclosure;
2402
 
2403
    if (tag == ET [6].tag) {
2404
	    write_cstring (ostream, closure->file_name);
2405
    } else if (tag == ET [7].tag) {
2406
	    write_unsigned (ostream, closure->line_number);
2407
    } else if (tag == ET [17].tag) {
2408
	    write_key (ostream, closure->terminal_name);
2409
    } else if (tag == ET [13].tag) {
2410
	    write_type_names (ostream, closure->parameter_type, FALSE);
2411
    }
2412
}
2413
static void
2414
ET_00025 PROTO_N ((ostream, tag, gclosure))
2415
         PROTO_T (OStreamP ostream X
2416
                  ETagP    tag X
2417
                  GenericP gclosure)
2418
{
2419
    struct ES_00024 *closure = (struct ES_00024 *) gclosure;
2420
 
2421
    if (tag == ET [6].tag) {
2422
	    write_cstring (ostream, closure->file_name);
2423
    } else if (tag == ET [7].tag) {
2424
	    write_unsigned (ostream, closure->line_number);
2425
    } else if (tag == ET [17].tag) {
2426
	    write_key (ostream, closure->terminal_name);
2427
    } else if (tag == ET [15].tag) {
2428
	    write_type_types (ostream, closure->erroneous_type);
2429
    }
2430
}
2431
static void
2432
ET_00026 PROTO_N ((ostream, tag, gclosure))
2433
         PROTO_T (OStreamP ostream X
2434
                  ETagP    tag X
2435
                  GenericP gclosure)
2436
{
2437
    struct ES_00025 *closure = (struct ES_00025 *) gclosure;
2438
 
2439
    if (tag == ET [6].tag) {
2440
	    write_cstring (ostream, closure->file_name);
2441
    } else if (tag == ET [7].tag) {
2442
	    write_unsigned (ostream, closure->line_number);
2443
    } else if (tag == ET [17].tag) {
2444
	    write_key (ostream, closure->terminal_name);
2445
    } else if (tag == ET [16].tag) {
2446
	    write_type_names (ostream, closure->result_type, FALSE);
2447
    }
2448
}
2449
static void
2450
ET_00027 PROTO_N ((ostream, tag, gclosure))
2451
         PROTO_T (OStreamP ostream X
2452
                  ETagP    tag X
2453
                  GenericP gclosure)
2454
{
2455
    struct ES_00026 *closure = (struct ES_00026 *) gclosure;
2456
 
2457
    if (tag == ET [6].tag) {
2458
	    write_cstring (ostream, closure->file_name);
2459
    } else if (tag == ET [7].tag) {
2460
	    write_unsigned (ostream, closure->line_number);
2461
    } else if (tag == ET [17].tag) {
2462
	    write_key (ostream, closure->terminal_name);
2463
    } else if (tag == ET [14].tag) {
2464
	    write_type_types (ostream, closure->correct_type);
2465
    } else if (tag == ET [15].tag) {
2466
	    write_type_types (ostream, closure->erroneous_type);
2467
    }
2468
}
2469
static void
2470
ET_00028 PROTO_N ((ostream, tag, gclosure))
2471
         PROTO_T (OStreamP ostream X
2472
                  ETagP    tag X
2473
                  GenericP gclosure)
2474
{
2475
    struct ES_00027 *closure = (struct ES_00027 *) gclosure;
2476
 
2477
    if (tag == ET [6].tag) {
2478
	    write_cstring (ostream, closure->file_name);
2479
    } else if (tag == ET [7].tag) {
2480
	    write_unsigned (ostream, closure->line_number);
2481
    } else if (tag == ET [17].tag) {
2482
	    write_key (ostream, closure->terminal_name);
2483
    } else if (tag == ET [13].tag) {
2484
	    write_type_names (ostream, closure->parameter_type, FALSE);
2485
    } else if (tag == ET [16].tag) {
2486
	    write_type_names (ostream, closure->result_type, FALSE);
2487
    }
2488
}
2489
static void
2490
ET_00029 PROTO_N ((ostream, tag, gclosure))
2491
         PROTO_T (OStreamP ostream X
2492
                  ETagP    tag X
2493
                  GenericP gclosure)
2494
{
2495
    struct ES_00028 *closure = (struct ES_00028 *) gclosure;
2496
 
2497
    if (tag == ET [6].tag) {
2498
	    write_cstring (ostream, closure->file_name);
2499
    } else if (tag == ET [7].tag) {
2500
	    write_unsigned (ostream, closure->line_number);
2501
    } else if (tag == ET [18].tag) {
2502
	    write_cstring (ostream, closure->builtin_name);
2503
    }
2504
}
2505
static void
2506
ET_00030 PROTO_N ((ostream, tag, gclosure))
2507
         PROTO_T (OStreamP ostream X
2508
                  ETagP    tag X
2509
                  GenericP gclosure)
2510
{
2511
    struct ES_00029 *closure = (struct ES_00029 *) gclosure;
2512
 
2513
    if (tag == ET [6].tag) {
2514
	    write_cstring (ostream, closure->file_name);
2515
    } else if (tag == ET [7].tag) {
2516
	    write_unsigned (ostream, closure->line_number);
2517
    } else if (tag == ET [19].tag) {
2518
	    write_cstring (ostream, closure->string_name);
2519
    }
2520
}
2521
static void
2522
ET_00031 PROTO_N ((ostream, tag, gclosure))
2523
         PROTO_T (OStreamP ostream X
2524
                  ETagP    tag X
2525
                  GenericP gclosure)
2526
{
2527
    struct ES_00030 *closure = (struct ES_00030 *) gclosure;
2528
 
2529
    if (tag == ET [6].tag) {
2530
	    write_cstring (ostream, closure->file_name);
2531
    } else if (tag == ET [7].tag) {
2532
	    write_unsigned (ostream, closure->line_number);
2533
    } else if (tag == ET [20].tag) {
2534
	    write_cstring (ostream, closure->error_name);
2535
    }
2536
}
2537
static void
2538
ET_00032 PROTO_N ((ostream, tag, gclosure))
2539
         PROTO_T (OStreamP ostream X
2540
                  ETagP    tag X
2541
                  GenericP gclosure)
2542
{
2543
    struct ES_00031 *closure = (struct ES_00031 *) gclosure;
2544
 
2545
    if (tag == ET [6].tag) {
2546
	    write_cstring (ostream, closure->file_name);
2547
    } else if (tag == ET [7].tag) {
2548
	    write_unsigned (ostream, closure->line_number);
2549
    } else if (tag == ET [21].tag) {
2550
	    write_cstring (ostream, closure->message);
2551
    }
2552
}
2553
static void
2554
ET_00033 PROTO_N ((ostream, tag, gclosure))
2555
         PROTO_T (OStreamP ostream X
2556
                  ETagP    tag X
2557
                  GenericP gclosure)
2558
{
2559
    struct ES_00032 *closure = (struct ES_00032 *) gclosure;
2560
 
2561
    if (tag == ET [6].tag) {
2562
	    write_cstring (ostream, closure->file_name);
2563
    } else if (tag == ET [22].tag) {
2564
	    write_system_error (ostream);
2565
    }
2566
}
2567
static void
2568
ET_00034 PROTO_N ((ostream, tag, gclosure))
2569
         PROTO_T (OStreamP ostream X
2570
                  ETagP    tag X
2571
                  GenericP gclosure)
2572
{
2573
    struct ES_00033 *closure = (struct ES_00033 *) gclosure;
2574
 
2575
    if (tag == ET [23].tag) {
2576
	    write_cstring (ostream, exception_name (closure->except_name));
2577
    } else if (tag == ET [6].tag) {
2578
	    write_cstring (ostream, closure->file_name);
2579
    } else if (tag == ET [7].tag) {
2580
	    write_unsigned (ostream, closure->line_number);
2581
    }
2582
}
2583
static void
2584
ET_00035 PROTO_N ((ostream, tag, gclosure))
2585
         PROTO_T (OStreamP ostream X
2586
                  ETagP    tag X
2587
                  GenericP gclosure)
2588
{
2589
    struct ES_00034 *closure = (struct ES_00034 *) gclosure;
2590
 
2591
    if (tag == ET [24].tag) {
2592
	    write_cstring (ostream, closure->assertion);
2593
    } else if (tag == ET [6].tag) {
2594
	    write_cstring (ostream, closure->file_name);
2595
    } else if (tag == ET [7].tag) {
2596
	    write_unsigned (ostream, closure->line_number);
2597
    }
2598
}
2599
static void
2600
ET_00036 PROTO_N ((ostream, tag, gclosure))
2601
         PROTO_T (OStreamP ostream X
2602
                  ETagP    tag X
2603
                  GenericP gclosure)
2604
{
2605
    struct ES_00035 *closure = (struct ES_00035 *) gclosure;
2606
 
2607
    if (tag == ET [25].tag) {
2608
	    write_pointer (ostream, closure->block_address);
2609
    } else if (tag == ET [6].tag) {
2610
	    write_cstring (ostream, closure->file_name);
2611
    } else if (tag == ET [7].tag) {
2612
	    write_unsigned (ostream, closure->line_number);
2613
    } else if (tag == ET [26].tag) {
2614
	    write_cstring (ostream, closure->allocation_file_name);
2615
    } else if (tag == ET [27].tag) {
2616
	    write_unsigned (ostream, closure->allocation_line_number);
2617
    }
2618
}
2619
static void
2620
ET_00037 PROTO_N ((ostream, tag, gclosure))
2621
         PROTO_T (OStreamP ostream X
2622
                  ETagP    tag X
2623
                  GenericP gclosure)
2624
{
2625
    struct ES_00036 *closure = (struct ES_00036 *) gclosure;
2626
 
2627
    if (tag == ET [25].tag) {
2628
	    write_pointer (ostream, closure->block_address);
2629
    } else if (tag == ET [6].tag) {
2630
	    write_cstring (ostream, closure->file_name);
2631
    } else if (tag == ET [7].tag) {
2632
	    write_unsigned (ostream, closure->line_number);
2633
    }
2634
}
2635
static void
2636
ET_00038 PROTO_N ((ostream, tag, gclosure))
2637
         PROTO_T (OStreamP ostream X
2638
                  ETagP    tag X
2639
                  GenericP gclosure)
2640
{
2641
    struct ES_00037 *closure = (struct ES_00037 *) gclosure;
2642
 
2643
    if (tag == ET [28].tag) {
2644
	    write_key (ostream, closure->rule_name);
2645
    }
2646
}
2647
static void
2648
ET_00039 PROTO_N ((ostream, tag, gclosure))
2649
         PROTO_T (OStreamP ostream X
2650
                  ETagP    tag X
2651
                  GenericP gclosure)
2652
{
2653
    struct ES_00038 *closure = (struct ES_00038 *) gclosure;
2654
 
2655
    if (tag == ET [29].tag) {
2656
	    write_key (ostream, closure->non_local_name_name);
2657
    }
2658
}
2659
static void
2660
ET_00040 PROTO_N ((ostream, tag, gclosure))
2661
         PROTO_T (OStreamP ostream X
2662
                  ETagP    tag X
2663
                  GenericP gclosure)
2664
{
2665
    UNUSED (ostream);
2666
    UNUSED (tag);
2667
    UNUSED (gclosure);
2668
}
2669
static void
2670
ET_00041 PROTO_N ((ostream, tag, gclosure))
2671
         PROTO_T (OStreamP ostream X
2672
                  ETagP    tag X
2673
                  GenericP gclosure)
2674
{
2675
    struct ES_00039 *closure = (struct ES_00039 *) gclosure;
2676
 
2677
    if (tag == ET [30].tag) {
2678
	    write_cstring (ostream, closure->tab_width);
2679
    }
2680
}
2681
static void
2682
ET_00042 PROTO_N ((ostream, tag, gclosure))
2683
         PROTO_T (OStreamP ostream X
2684
                  ETagP    tag X
2685
                  GenericP gclosure)
2686
{
2687
    struct ES_00040 *closure = (struct ES_00040 *) gclosure;
2688
 
2689
    if (tag == ET [31].tag) {
2690
	    write_cstring (ostream, closure->factor_limit);
2691
    }
2692
}
2693
static void
2694
ET_00043 PROTO_N ((ostream, tag, gclosure))
2695
         PROTO_T (OStreamP ostream X
2696
                  ETagP    tag X
2697
                  GenericP gclosure)
2698
{
2699
    struct ES_00041 *closure = (struct ES_00041 *) gclosure;
2700
 
2701
    if (tag == ET [32].tag) {
2702
	    write_cstring (ostream, closure->phase);
2703
    }
2704
}
2705
static void
2706
ET_00044 PROTO_N ((ostream, tag, gclosure))
2707
         PROTO_T (OStreamP ostream X
2708
                  ETagP    tag X
2709
                  GenericP gclosure)
2710
{
2711
    struct ES_00042 *closure = (struct ES_00042 *) gclosure;
2712
 
2713
    if (tag == ET [33].tag) {
2714
	    write_cstring (ostream, closure->language_name);
2715
    }
2716
}
2717
static void
2718
ET_00045 PROTO_N ((ostream, tag, gclosure))
2719
         PROTO_T (OStreamP ostream X
2720
                  ETagP    tag X
2721
                  GenericP gclosure)
2722
{
2723
    struct ES_00043 *closure = (struct ES_00043 *) gclosure;
2724
 
2725
    if (tag == ET [33].tag) {
2726
	    write_cstring (ostream, closure->language_name);
2727
    } else if (tag == ET [0].tag) {
2728
	    write_cstring (ostream, closure->option);
2729
    }
2730
}
2731
static void
2732
ET_00046 PROTO_N ((ostream, tag, gclosure))
2733
         PROTO_T (OStreamP ostream X
2734
                  ETagP    tag X
2735
                  GenericP gclosure)
2736
{
2737
    struct ES_00044 *closure = (struct ES_00044 *) gclosure;
2738
 
2739
    if (tag == ET [34].tag) {
2740
	    write_cstring (ostream, closure->split_size);
2741
    }
2742
}
2743
static void
2744
ET_00047 PROTO_N ((ostream, tag, gclosure))
2745
         PROTO_T (OStreamP ostream X
2746
                  ETagP    tag X
2747
                  GenericP gclosure)
2748
{
2749
    struct ES_00045 *closure = (struct ES_00045 *) gclosure;
2750
 
2751
    if (tag == ET [33].tag) {
2752
	    write_cstring (ostream, closure->language_name);
2753
    } else if (tag == ET [35].tag) {
2754
	    write_unsigned (ostream, closure->number_input_files);
2755
    } else if (tag == ET [36].tag) {
2756
	    write_unsigned (ostream, closure->number_output_files);
2757
    } else if (tag == ET [1].tag) {
2758
	    write_arg_usage (ostream, closure->usage);
2759
    }
2760
}
2761
static void
2762
ET_00048 PROTO_N ((ostream, tag, gclosure))
2763
         PROTO_T (OStreamP ostream X
2764
                  ETagP    tag X
2765
                  GenericP gclosure)
2766
{
2767
    struct ES_00046 *closure = (struct ES_00046 *) gclosure;
2768
 
2769
    if (tag == ET [6].tag) {
2770
	    write_cstring (ostream, closure->file_name);
2771
    } else if (tag == ET [7].tag) {
2772
	    write_unsigned (ostream, closure->line_number);
2773
    } else if (tag == ET [28].tag) {
2774
	    write_nstring (ostream, closure->rule_name);
2775
    }
2776
}
2777
static void
2778
ET_00049 PROTO_N ((ostream, tag, gclosure))
2779
         PROTO_T (OStreamP ostream X
2780
                  ETagP    tag X
2781
                  GenericP gclosure)
2782
{
2783
    struct ES_00047 *closure = (struct ES_00047 *) gclosure;
2784
 
2785
    if (tag == ET [6].tag) {
2786
	    write_cstring (ostream, closure->file_name);
2787
    } else if (tag == ET [7].tag) {
2788
	    write_unsigned (ostream, closure->line_number);
2789
    } else if (tag == ET [14].tag) {
2790
	    write_type_types (ostream, closure->correct_type);
2791
    } else if (tag == ET [15].tag) {
2792
	    write_type_types (ostream, closure->erroneous_type);
2793
    }
2794
}
2795
static void
2796
ET_00050 PROTO_N ((ostream, tag, gclosure))
2797
         PROTO_T (OStreamP ostream X
2798
                  ETagP    tag X
2799
                  GenericP gclosure)
2800
{
2801
    struct ES_00048 *closure = (struct ES_00048 *) gclosure;
2802
 
2803
    if (tag == ET [6].tag) {
2804
	    write_cstring (ostream, closure->file_name);
2805
    } else if (tag == ET [7].tag) {
2806
	    write_unsigned (ostream, closure->line_number);
2807
    } else if (tag == ET [37].tag) {
2808
	    write_key (ostream, closure->name_name);
2809
    } else if (tag == ET [14].tag) {
2810
	    write_type_types (ostream, closure->correct_type);
2811
    } else if (tag == ET [15].tag) {
2812
	    write_type_types (ostream, closure->erroneous_type);
2813
    }
2814
}
2815
static void
2816
ET_00051 PROTO_N ((ostream, tag, gclosure))
2817
         PROTO_T (OStreamP ostream X
2818
                  ETagP    tag X
2819
                  GenericP gclosure)
2820
{
2821
    struct ES_00049 *closure = (struct ES_00049 *) gclosure;
2822
 
2823
    if (tag == ET [6].tag) {
2824
	    write_cstring (ostream, closure->file_name);
2825
    } else if (tag == ET [7].tag) {
2826
	    write_unsigned (ostream, closure->line_number);
2827
    } else if (tag == ET [28].tag) {
2828
	    write_key (ostream, closure->rule_name);
2829
    } else if (tag == ET [14].tag) {
2830
	    write_type_types (ostream, closure->correct_type);
2831
    } else if (tag == ET [15].tag) {
2832
	    write_type_types (ostream, closure->erroneous_type);
2833
    }
2834
}
2835
static void
2836
ET_00052 PROTO_N ((ostream, tag, gclosure))
2837
         PROTO_T (OStreamP ostream X
2838
                  ETagP    tag X
2839
                  GenericP gclosure)
2840
{
2841
    struct ES_00050 *closure = (struct ES_00050 *) gclosure;
2842
 
2843
    if (tag == ET [6].tag) {
2844
	    write_cstring (ostream, closure->file_name);
2845
    } else if (tag == ET [7].tag) {
2846
	    write_unsigned (ostream, closure->line_number);
2847
    } else if (tag == ET [37].tag) {
2848
	    write_key (ostream, closure->name_name);
2849
    } else if (tag == ET [14].tag) {
2850
	    write_type_types (ostream, closure->correct_type);
2851
    } else if (tag == ET [38].tag) {
2852
	    write_type_types (ostream, closure->correct_ref_type);
2853
    } else if (tag == ET [15].tag) {
2854
	    write_type_types (ostream, closure->erroneous_type);
2855
    }
2856
}
2857
static void
2858
ET_00053 PROTO_N ((ostream, tag, gclosure))
2859
         PROTO_T (OStreamP ostream X
2860
                  ETagP    tag X
2861
                  GenericP gclosure)
2862
{
2863
    struct ES_00051 *closure = (struct ES_00051 *) gclosure;
2864
 
2865
    if (tag == ET [6].tag) {
2866
	    write_cstring (ostream, closure->file_name);
2867
    } else if (tag == ET [7].tag) {
2868
	    write_unsigned (ostream, closure->line_number);
2869
    } else if (tag == ET [28].tag) {
2870
	    write_key (ostream, closure->rule_name);
2871
    } else if (tag == ET [39].tag) {
2872
	    write_unsigned (ostream, closure->alternative);
2873
    }
2874
}
2875
static void
2876
ET_00054 PROTO_N ((ostream, tag, gclosure))
2877
         PROTO_T (OStreamP ostream X
2878
                  ETagP    tag X
2879
                  GenericP gclosure)
2880
{
2881
    struct ES_00052 *closure = (struct ES_00052 *) gclosure;
2882
 
2883
    if (tag == ET [6].tag) {
2884
	    write_cstring (ostream, closure->file_name);
2885
    } else if (tag == ET [7].tag) {
2886
	    write_unsigned (ostream, closure->line_number);
2887
    } else if (tag == ET [28].tag) {
2888
	    write_key (ostream, closure->rule_name);
2889
    }
2890
}
2891
static void
2892
ET_00055 PROTO_N ((ostream, tag, gclosure))
2893
         PROTO_T (OStreamP ostream X
2894
                  ETagP    tag X
2895
                  GenericP gclosure)
2896
{
2897
    struct ES_00053 *closure = (struct ES_00053 *) gclosure;
2898
 
2899
    if (tag == ET [6].tag) {
2900
	    write_cstring (ostream, closure->file_name);
2901
    } else if (tag == ET [7].tag) {
2902
	    write_unsigned (ostream, closure->line_number);
2903
    } else if (tag == ET [14].tag) {
2904
	    write_key (ostream, entry_key (closure->correct_type));
2905
    } else if (tag == ET [15].tag) {
2906
	    write_key (ostream, entry_key (closure->erroneous_type));
2907
    }
2908
}
2909
static void
2910
ET_00056 PROTO_N ((ostream, tag, gclosure))
2911
         PROTO_T (OStreamP ostream X
2912
                  ETagP    tag X
2913
                  GenericP gclosure)
2914
{
2915
    struct ES_00054 *closure = (struct ES_00054 *) gclosure;
2916
 
2917
    if (tag == ET [6].tag) {
2918
	    write_cstring (ostream, closure->file_name);
2919
    } else if (tag == ET [7].tag) {
2920
	    write_unsigned (ostream, closure->line_number);
2921
    } else if (tag == ET [37].tag) {
2922
	    write_nstring (ostream, closure->name_name);
2923
    }
2924
}
2925
static void
2926
ET_00057 PROTO_N ((ostream, tag, gclosure))
2927
         PROTO_T (OStreamP ostream X
2928
                  ETagP    tag X
2929
                  GenericP gclosure)
2930
{
2931
    struct ES_00055 *closure = (struct ES_00055 *) gclosure;
2932
 
2933
    if (tag == ET [6].tag) {
2934
	    write_cstring (ostream, closure->file_name);
2935
    } else if (tag == ET [7].tag) {
2936
	    write_unsigned (ostream, closure->line_number);
2937
    } else if (tag == ET [28].tag) {
2938
	    write_key (ostream, closure->rule_name);
2939
    } else if (tag == ET [13].tag) {
2940
	    write_type_names (ostream, closure->parameter_type, FALSE);
2941
    } else if (tag == ET [16].tag) {
2942
	    write_type_names (ostream, closure->result_type, FALSE);
2943
    }
2944
}
2945
static void
2946
ET_00058 PROTO_N ((ostream, tag, gclosure))
2947
         PROTO_T (OStreamP ostream X
2948
                  ETagP    tag X
2949
                  GenericP gclosure)
2950
{
2951
    struct ES_00056 *closure = (struct ES_00056 *) gclosure;
2952
 
2953
    if (tag == ET [6].tag) {
2954
	    write_cstring (ostream, closure->file_name);
2955
    } else if (tag == ET [7].tag) {
2956
	    write_unsigned (ostream, closure->line_number);
2957
    } else if (tag == ET [28].tag) {
2958
	    write_key (ostream, closure->rule_name);
2959
    } else if (tag == ET [13].tag) {
2960
	    write_type_names (ostream, closure->parameter_type, FALSE);
2961
    }
2962
}
2963
static void
2964
ET_00059 PROTO_N ((ostream, tag, gclosure))
2965
         PROTO_T (OStreamP ostream X
2966
                  ETagP    tag X
2967
                  GenericP gclosure)
2968
{
2969
    struct ES_00057 *closure = (struct ES_00057 *) gclosure;
2970
 
2971
    if (tag == ET [6].tag) {
2972
	    write_cstring (ostream, closure->file_name);
2973
    } else if (tag == ET [7].tag) {
2974
	    write_unsigned (ostream, closure->line_number);
2975
    } else if (tag == ET [28].tag) {
2976
	    write_key (ostream, closure->rule_name);
2977
    } else if (tag == ET [16].tag) {
2978
	    write_type_names (ostream, closure->result_type, FALSE);
2979
    }
2980
}
2981
static void
2982
ET_00060 PROTO_N ((ostream, tag, gclosure))
2983
         PROTO_T (OStreamP ostream X
2984
                  ETagP    tag X
2985
                  GenericP gclosure)
2986
{
2987
    struct ES_00058 *closure = (struct ES_00058 *) gclosure;
2988
 
2989
    if (tag == ET [6].tag) {
2990
	    write_cstring (ostream, closure->file_name);
2991
    } else if (tag == ET [7].tag) {
2992
	    write_unsigned (ostream, closure->line_number);
2993
    } else if (tag == ET [16].tag) {
2994
	    write_type_names (ostream, closure->result_type, FALSE);
2995
    }
2996
}
2997
static void
2998
ET_00061 PROTO_N ((ostream, tag, gclosure))
2999
         PROTO_T (OStreamP ostream X
3000
                  ETagP    tag X
3001
                  GenericP gclosure)
3002
{
3003
    struct ES_00059 *closure = (struct ES_00059 *) gclosure;
3004
 
3005
    if (tag == ET [6].tag) {
3006
	    write_cstring (ostream, closure->file_name);
3007
    } else if (tag == ET [7].tag) {
3008
	    write_unsigned (ostream, closure->line_number);
3009
    } else if (tag == ET [8].tag) {
3010
	    write_key (ostream, closure->identifier_name);
3011
    } else if (tag == ET [28].tag) {
3012
	    write_key (ostream, closure->rule_name);
3013
    } else if (tag == ET [39].tag) {
3014
	    write_unsigned (ostream, closure->alternative);
3015
    }
3016
}
3017
static void
3018
ET_00062 PROTO_N ((ostream, tag, gclosure))
3019
         PROTO_T (OStreamP ostream X
3020
                  ETagP    tag X
3021
                  GenericP gclosure)
3022
{
3023
    struct ES_00060 *closure = (struct ES_00060 *) gclosure;
3024
 
3025
    if (tag == ET [6].tag) {
3026
	    write_cstring (ostream, closure->file_name);
3027
    } else if (tag == ET [7].tag) {
3028
	    write_unsigned (ostream, closure->line_number);
3029
    } else if (tag == ET [13].tag) {
3030
	    write_type_names (ostream, closure->parameter_type, FALSE);
3031
    } else if (tag == ET [28].tag) {
3032
	    write_key (ostream, closure->rule_name);
3033
    } else if (tag == ET [39].tag) {
3034
	    write_unsigned (ostream, closure->alternative);
3035
    }
3036
}
3037
static void
3038
ET_00063 PROTO_N ((ostream, tag, gclosure))
3039
         PROTO_T (OStreamP ostream X
3040
                  ETagP    tag X
3041
                  GenericP gclosure)
3042
{
3043
    struct ES_00061 *closure = (struct ES_00061 *) gclosure;
3044
 
3045
    if (tag == ET [28].tag) {
3046
	    EntryP entry = rule_entry (closure->rule_name);
3047
 
3048
	    write_key (ostream, entry_key (entry));
3049
    } else if (tag == ET [40].tag) {
3050
	    write_rule (ostream, closure->rule_name);
3051
    } else if (tag == ET [41].tag) {
3052
	    write_basics (ostream, closure->terminal_names);
3053
    }
3054
}
3055
static void
3056
ET_00064 PROTO_N ((ostream, tag, gclosure))
3057
         PROTO_T (OStreamP ostream X
3058
                  ETagP    tag X
3059
                  GenericP gclosure)
3060
{
3061
    struct ES_00062 *closure = (struct ES_00062 *) gclosure;
3062
 
3063
    if (tag == ET [28].tag) {
3064
	    EntryP entry = rule_entry (closure->rule_name);
3065
 
3066
	    write_key (ostream, entry_key (entry));
3067
    } else if (tag == ET [40].tag) {
3068
	    write_rule (ostream, closure->rule_name);
3069
    } else if (tag == ET [42].tag) {
3070
	    write_key (ostream, closure->predicate_name);
3071
    }
3072
}
3073
static void
3074
ET_00065 PROTO_N ((ostream, tag, gclosure))
3075
         PROTO_T (OStreamP ostream X
3076
                  ETagP    tag X
3077
                  GenericP gclosure)
3078
{
3079
    struct ES_00063 *closure = (struct ES_00063 *) gclosure;
3080
 
3081
    if (tag == ET [28].tag) {
3082
	    EntryP entry = rule_entry (closure->rule_name);
3083
 
3084
	    write_key (ostream, entry_key (entry));
3085
    } else if (tag == ET [40].tag) {
3086
	    write_rule (ostream, closure->rule_name);
3087
    } else if (tag == ET [43].tag) {
3088
	    write_entry_list (ostream, closure->predicate_names);
3089
    }
3090
}
3091
static void
3092
ET_00066 PROTO_N ((ostream, tag, gclosure))
3093
         PROTO_T (OStreamP ostream X
3094
                  ETagP    tag X
3095
                  GenericP gclosure)
3096
{
3097
    struct ES_00064 *closure = (struct ES_00064 *) gclosure;
3098
 
3099
    if (tag == ET [28].tag) {
3100
	    EntryP entry = rule_entry (closure->rule_name);
3101
 
3102
	    write_key (ostream, entry_key (entry));
3103
    } else if (tag == ET [40].tag) {
3104
	    write_rule (ostream, closure->rule_name);
3105
    } else if (tag == ET [41].tag) {
3106
	    write_basics (ostream, closure->terminal_names);
3107
    } else if (tag == ET [44].tag) {
3108
	    write_clashes (ostream, closure->clashes);
3109
    }
3110
}
3111
static void
3112
ET_00067 PROTO_N ((ostream, tag, gclosure))
3113
         PROTO_T (OStreamP ostream X
3114
                  ETagP    tag X
3115
                  GenericP gclosure)
3116
{
3117
    struct ES_00065 *closure = (struct ES_00065 *) gclosure;
3118
 
3119
    if (tag == ET [28].tag) {
3120
	    EntryP entry = rule_entry (closure->rule_name);
3121
 
3122
	    write_key (ostream, entry_key (entry));
3123
    } else if (tag == ET [40].tag) {
3124
	    write_rule (ostream, closure->rule_name);
3125
    } else if (tag == ET [43].tag) {
3126
	    write_entry_list (ostream, closure->predicate_names);
3127
    } else if (tag == ET [44].tag) {
3128
	    write_clashes (ostream, closure->clashes);
3129
    }
3130
}
3131
static void
3132
ET_00068 PROTO_N ((ostream, tag, gclosure))
3133
         PROTO_T (OStreamP ostream X
3134
                  ETagP    tag X
3135
                  GenericP gclosure)
3136
{
3137
    struct ES_00066 *closure = (struct ES_00066 *) gclosure;
3138
 
3139
    if (tag == ET [28].tag) {
3140
	    EntryP entry = rule_entry (closure->rule_name);
3141
 
3142
	    write_key (ostream, entry_key (entry));
3143
    } else if (tag == ET [40].tag) {
3144
	    write_rule (ostream, closure->rule_name);
3145
    }
3146
}
3147
static void
3148
ET_00069 PROTO_N ((ostream, tag, gclosure))
3149
         PROTO_T (OStreamP ostream X
3150
                  ETagP    tag X
3151
                  GenericP gclosure)
3152
{
3153
    struct ES_00067 *closure = (struct ES_00067 *) gclosure;
3154
 
3155
    if (tag == ET [45].tag) {
3156
	    write_unsigned (ostream, closure->number_productions);
3157
    }
3158
}
3159
static void
3160
ET_00070 PROTO_N ((ostream, tag, gclosure))
3161
         PROTO_T (OStreamP ostream X
3162
                  ETagP    tag X
3163
                  GenericP gclosure)
3164
{
3165
    struct ES_00068 *closure = (struct ES_00068 *) gclosure;
3166
 
3167
    if (tag == ET [46].tag) {
3168
	    EntryP entry = rule_entry (closure->inner_rule_name);
3169
 
3170
	    write_key (ostream, entry_key (entry));
3171
    } else if (tag == ET [47].tag) {
3172
	    EntryP entry = rule_entry (closure->outer_rule_name);
3173
 
3174
	    write_key (ostream, entry_key (entry));
3175
    } else if (tag == ET [48].tag) {
3176
	    write_rule (ostream, closure->inner_rule_name);
3177
    } else if (tag == ET [49].tag) {
3178
	    write_rule (ostream, closure->outer_rule_name);
3179
    }
3180
}
3181
static void
3182
ET_00071 PROTO_N ((ostream, tag, gclosure))
3183
         PROTO_T (OStreamP ostream X
3184
                  ETagP    tag X
3185
                  GenericP gclosure)
3186
{
3187
    struct ES_00069 *closure = (struct ES_00069 *) gclosure;
3188
 
3189
    if (tag == ET [40].tag) {
3190
	    write_rule (ostream, closure->production);
3191
    } else if (tag == ET [28].tag) {
3192
	    write_key (ostream, entry_key (rule_entry (closure->production)));
3193
    }
3194
}
3195
static void
3196
ET_00072 PROTO_N ((ostream, tag, gclosure))
3197
         PROTO_T (OStreamP ostream X
3198
                  ETagP    tag X
3199
                  GenericP gclosure)
3200
{
3201
    struct ES_00070 *closure = (struct ES_00070 *) gclosure;
3202
 
3203
    if (tag == ET [50].tag) {
3204
	    write_key (ostream, closure->predicate);
3205
    } else if (tag == ET [40].tag) {
3206
	    write_rule (ostream, closure->production);
3207
    } else if (tag == ET [28].tag) {
3208
	    write_key (ostream, entry_key (rule_entry (closure->production)));
3209
    }
3210
}
3211
static void
3212
ET_00073 PROTO_N ((ostream, tag, gclosure))
3213
         PROTO_T (OStreamP ostream X
3214
                  ETagP    tag X
3215
                  GenericP gclosure)
3216
{
3217
    struct ES_00071 *closure = (struct ES_00071 *) gclosure;
3218
 
3219
    if (tag == ET [48].tag) {
3220
	    write_rule (ostream, closure->inner_production);
3221
    } else if (tag == ET [46].tag) {
3222
	    EntryP entry = rule_entry (closure->inner_production);
3223
 
3224
	    write_key (ostream, entry_key (entry));
3225
    } else if (tag == ET [49].tag) {
3226
	    write_rule (ostream, closure->outer_production);
3227
    } else if (tag == ET [47].tag) {
3228
	    EntryP entry = rule_entry (closure->outer_production);
3229
 
3230
	    write_key (ostream, entry_key (entry));
3231
    }
3232
}
3233
static void
3234
ET_00074 PROTO_N ((ostream, tag, gclosure))
3235
         PROTO_T (OStreamP ostream X
3236
                  ETagP    tag X
3237
                  GenericP gclosure)
3238
{
3239
    struct ES_00069 *closure = (struct ES_00069 *) gclosure;
3240
 
3241
    if (tag == ET [40].tag) {
3242
	    write_rule (ostream, closure->production);
3243
    } else if (tag == ET [28].tag) {
3244
	    EntryP entry = rule_entry (closure->production);
3245
 
3246
	    write_key (ostream, entry_key (entry));
3247
    }
3248
}
3249
static void
3250
ET_00075 PROTO_N ((ostream, tag, gclosure))
3251
         PROTO_T (OStreamP ostream X
3252
                  ETagP    tag X
3253
                  GenericP gclosure)
3254
{
3255
    struct ES_00072 *closure = (struct ES_00072 *) gclosure;
3256
 
3257
    if (tag == ET [51].tag) {
3258
	    RuleP rule = closure->productions;
3259
 
3260
	    for (; rule; rule = rule_get_next_in_reverse_dfs (rule)) {
3261
		write_newline (ostream);
3262
		write_rule (ostream, rule);
3263
	    }
3264
    } else if (tag == ET [52].tag) {
3265
	    RuleP    rule = closure->productions;
3266
	    CStringP sep  = "";
3267
 
3268
	    for (; rule; rule = rule_get_next_in_reverse_dfs (rule)) {
3269
		RuleP next = rule_get_next_in_reverse_dfs (rule);
3270
 
3271
		write_cstring (ostream, sep);
3272
		write_char (ostream, '\'');
3273
		write_key (ostream, entry_key (rule_entry (rule)));
3274
		write_char (ostream, '\'');
3275
		if (next != NIL (RuleP)) {
3276
		    if (rule_get_next_in_reverse_dfs (next)) {
3277
			sep = ", ";
3278
		    } else {
3279
			sep = " & ";
3280
		    }
3281
		}
3282
	    }
3283
    }
3284
}
3285
static void
3286
ET_00076 PROTO_N ((ostream, tag, gclosure))
3287
         PROTO_T (OStreamP ostream X
3288
                  ETagP    tag X
3289
                  GenericP gclosure)
3290
{
3291
    struct ES_00073 *closure = (struct ES_00073 *) gclosure;
3292
 
3293
    if (tag == ET [53].tag) {
3294
	    write_rule (ostream, closure->using_production);
3295
    } else if (tag == ET [54].tag) {
3296
	    EntryP entry = rule_entry (closure->using_production);
3297
 
3298
	    write_key (ostream, entry_key (entry));
3299
    } else if (tag == ET [55].tag) {
3300
	    write_rule (ostream, closure->out_of_scope_production);
3301
    } else if (tag == ET [56].tag) {
3302
	    EntryP entry = rule_entry (closure->out_of_scope_production);
3303
 
3304
	    write_key (ostream, entry_key (entry));
3305
    } else if (tag == ET [51].tag) {
3306
	    RuleP rule = closure->productions;
3307
 
3308
	    for (; rule; rule = rule_get_next_in_reverse_dfs (rule)) {
3309
		write_newline (ostream);
3310
		write_rule (ostream, rule);
3311
	    }
3312
    } else if (tag == ET [52].tag) {
3313
	    RuleP    rule = closure->productions;
3314
	    CStringP sep  = "";
3315
 
3316
	    for (; rule; rule = rule_get_next_in_reverse_dfs (rule)) {
3317
		RuleP next = rule_get_next_in_reverse_dfs (rule);
3318
 
3319
		write_cstring (ostream, sep);
3320
		write_char (ostream, '\'');
3321
		write_key (ostream, entry_key (rule_entry (rule)));
3322
		write_char (ostream, '\'');
3323
		if (next != NIL (RuleP)) {
3324
		    if (rule_get_next_in_reverse_dfs (next)) {
3325
			sep = ", ";
3326
		    } else {
3327
			sep = " & ";
3328
		    }
3329
		}
3330
	    }
3331
    }
3332
}
3333
static void
3334
ET_00077 PROTO_N ((ostream, tag, gclosure))
3335
         PROTO_T (OStreamP ostream X
3336
                  ETagP    tag X
3337
                  GenericP gclosure)
3338
{
3339
    struct ES_00074 *closure = (struct ES_00074 *) gclosure;
3340
 
3341
    if (tag == ET [40].tag) {
3342
	    write_rule (ostream, closure->production);
3343
    } else if (tag == ET [28].tag) {
3344
	    EntryP entry = rule_entry (closure->production);
3345
 
3346
	    write_key (ostream, entry_key (entry));
3347
    } else if (tag == ET [51].tag) {
3348
	    RuleP rule = closure->productions;
3349
 
3350
	    for (; rule; rule = rule_get_next_in_reverse_dfs (rule)) {
3351
		write_newline (ostream);
3352
		write_rule (ostream, rule);
3353
	    }
3354
    } else if (tag == ET [52].tag) {
3355
	    RuleP    rule = closure->productions;
3356
	    CStringP sep  = "";
3357
 
3358
	    for (; rule; rule = rule_get_next_in_reverse_dfs (rule)) {
3359
		RuleP next = rule_get_next_in_reverse_dfs (rule);
3360
 
3361
		write_cstring (ostream, sep);
3362
		write_char (ostream, '\'');
3363
		write_key (ostream, entry_key (rule_entry (rule)));
3364
		write_char (ostream, '\'');
3365
		if (next != NIL (RuleP)) {
3366
		    if (rule_get_next_in_reverse_dfs (next)) {
3367
			sep = ", ";
3368
		    } else {
3369
			sep = " & ";
3370
		    }
3371
		}
3372
	    }
3373
    }
3374
}
3375
static void
3376
ET_00078 PROTO_N ((ostream, tag, gclosure))
3377
         PROTO_T (OStreamP ostream X
3378
                  ETagP    tag X
3379
                  GenericP gclosure)
3380
{
3381
    struct ES_00075 *closure = (struct ES_00075 *) gclosure;
3382
 
3383
    if (tag == ET [52].tag) {
3384
	    RuleP    rule = closure->rule_names;
3385
	    CStringP sep  = "";
3386
 
3387
	    for (; rule; rule = rule_get_next_in_reverse_dfs (rule)) {
3388
		RuleP next = rule_get_next_in_reverse_dfs (rule);
3389
 
3390
		write_cstring (ostream, sep);
3391
		write_char (ostream, '\'');
3392
		write_key (ostream, entry_key (rule_entry (rule)));
3393
		write_char (ostream, '\'');
3394
		if (next != NIL (RuleP)) {
3395
		    if (rule_get_next_in_reverse_dfs (next)) {
3396
			sep = ", ";
3397
		    } else {
3398
			sep = " & ";
3399
		    }
3400
		}
3401
	    }
3402
    }
3403
}
3404
static void
3405
ET_00079 PROTO_N ((ostream, tag, gclosure))
3406
         PROTO_T (OStreamP ostream X
3407
                  ETagP    tag X
3408
                  GenericP gclosure)
3409
{
3410
    struct ES_00076 *closure = (struct ES_00076 *) gclosure;
3411
 
3412
    if (tag == ET [6].tag) {
3413
	    write_cstring (ostream, closure->file_name);
3414
    } else if (tag == ET [7].tag) {
3415
	    write_unsigned (ostream, closure->line_number);
3416
    } else if (tag == ET [37].tag) {
3417
	    write_key (ostream, closure->name_name);
3418
    } else if (tag == ET [29].tag) {
3419
	    write_key (ostream, closure->non_local_name_name);
3420
    } else if (tag == ET [40].tag) {
3421
	    write_rule (ostream, closure->production);
3422
    } else if (tag == ET [28].tag) {
3423
	    write_key (ostream, entry_key (rule_entry (closure->production)));
3424
    }
3425
}
3426
static void
3427
ET_00080 PROTO_N ((ostream, tag, gclosure))
3428
         PROTO_T (OStreamP ostream X
3429
                  ETagP    tag X
3430
                  GenericP gclosure)
3431
{
3432
    struct ES_00077 *closure = (struct ES_00077 *) gclosure;
3433
 
3434
    if (tag == ET [6].tag) {
3435
	    write_cstring (ostream, closure->file_name);
3436
    } else if (tag == ET [7].tag) {
3437
	    write_unsigned (ostream, closure->line_number);
3438
    } else if (tag == ET [37].tag) {
3439
	    write_key (ostream, closure->name_name);
3440
    } else if (tag == ET [40].tag) {
3441
	    write_rule (ostream, closure->production);
3442
    } else if (tag == ET [28].tag) {
3443
	    write_key (ostream, entry_key (rule_entry (closure->production)));
3444
    }
3445
}
3446
 
3447
void
3448
E_arg_parse_unknown_option PROTO_N ((option, usage))
3449
                           PROTO_T (CStringP option X
3450
                                    ArgUsageP usage)
3451
{
3452
    struct ES_00000 closure; 
3453
 
3454
    closure.option = option;
3455
    closure.usage = usage;
3456
    error_call_init_proc ();
3457
    error_report (EE [0].error, ET_00000, (GenericP) &closure);
3458
    UNREACHED;
3459
}
3460
void
3461
E_arg_parse_unknown_short_opt PROTO_N ((option, option_location, usage))
3462
                              PROTO_T (CStringP option X
3463
                                       CStringP option_location X
3464
                                       ArgUsageP usage)
3465
{
3466
    struct ES_00001 closure; 
3467
 
3468
    closure.option = option;
3469
    closure.option_location = option_location;
3470
    closure.usage = usage;
3471
    error_call_init_proc ();
3472
    error_report (EE [1].error, ET_00001, (GenericP) &closure);
3473
    UNREACHED;
3474
}
3475
void
3476
E_arg_parse_ambiguous_option PROTO_N ((option, usage))
3477
                             PROTO_T (CStringP option X
3478
                                      ArgUsageP usage)
3479
{
3480
    struct ES_00000 closure; 
3481
 
3482
    closure.option = option;
3483
    closure.usage = usage;
3484
    error_call_init_proc ();
3485
    error_report (EE [2].error, ET_00000, (GenericP) &closure);
3486
    UNREACHED;
3487
}
3488
void
3489
E_arg_parse_missing_argument PROTO_N ((option, usage))
3490
                             PROTO_T (CStringP option X
3491
                                      ArgUsageP usage)
3492
{
3493
    struct ES_00000 closure; 
3494
 
3495
    closure.option = option;
3496
    closure.usage = usage;
3497
    error_call_init_proc ();
3498
    error_report (EE [3].error, ET_00000, (GenericP) &closure);
3499
    UNREACHED;
3500
}
3501
void
3502
E_arg_parse_missing_short_arg PROTO_N ((option, option_location, usage))
3503
                              PROTO_T (CStringP option X
3504
                                       CStringP option_location X
3505
                                       ArgUsageP usage)
3506
{
3507
    struct ES_00001 closure; 
3508
 
3509
    closure.option = option;
3510
    closure.option_location = option_location;
3511
    closure.usage = usage;
3512
    error_call_init_proc ();
3513
    error_report (EE [4].error, ET_00001, (GenericP) &closure);
3514
    UNREACHED;
3515
}
3516
void
3517
E_basic_result_code_not_defined PROTO_N ((basic_name))
3518
                                PROTO_T (KeyP basic_name)
3519
{
3520
    struct ES_00002 closure; 
3521
 
3522
    closure.basic_name = basic_name;
3523
    error_call_init_proc ();
3524
    error_report (EE [5].error, ET_00002, (GenericP) &closure);
3525
}
3526
void
3527
E_action_code_not_defined PROTO_N ((action_name))
3528
                          PROTO_T (KeyP action_name)
3529
{
3530
    struct ES_00003 closure; 
3531
 
3532
    closure.action_name = action_name;
3533
    error_call_init_proc ();
3534
    error_report (EE [6].error, ET_00003, (GenericP) &closure);
3535
}
3536
void
3537
E_type_code_not_defined PROTO_N ((type_name))
3538
                        PROTO_T (KeyP type_name)
3539
{
3540
    struct ES_00004 closure; 
3541
 
3542
    closure.type_name = type_name;
3543
    error_call_init_proc ();
3544
    error_report (EE [7].error, ET_00004, (GenericP) &closure);
3545
}
3546
void
3547
E_bad_id_substitution PROTO_N ((file_name, line_number, identifier_name))
3548
                      PROTO_T (CStringP file_name X
3549
                               unsigned line_number X
3550
                               EntryP identifier_name)
3551
{
3552
    struct ES_00005 closure; 
3553
 
3554
    closure.file_name = file_name;
3555
    closure.line_number = line_number;
3556
    closure.identifier_name = identifier_name;
3557
    error_call_init_proc ();
3558
    error_report (EE [8].error, ET_00005, (GenericP) &closure);
3559
}
3560
void
3561
E_bad_mod_id_substitution PROTO_N ((file_name, line_number, identifier_name))
3562
                          PROTO_T (CStringP file_name X
3563
                                   unsigned line_number X
3564
                                   EntryP identifier_name)
3565
{
3566
    struct ES_00005 closure; 
3567
 
3568
    closure.file_name = file_name;
3569
    closure.line_number = line_number;
3570
    closure.identifier_name = identifier_name;
3571
    error_call_init_proc ();
3572
    error_report (EE [9].error, ET_00005, (GenericP) &closure);
3573
}
3574
void
3575
E_mod_id_in_assign PROTO_N ((file_name, line_number, identifier_name))
3576
                   PROTO_T (CStringP file_name X
3577
                            unsigned line_number X
3578
                            EntryP identifier_name)
3579
{
3580
    struct ES_00005 closure; 
3581
 
3582
    closure.file_name = file_name;
3583
    closure.line_number = line_number;
3584
    closure.identifier_name = identifier_name;
3585
    error_call_init_proc ();
3586
    error_report (EE [10].error, ET_00005, (GenericP) &closure);
3587
}
3588
void
3589
E_bad_ref_id_substitution PROTO_N ((file_name, line_number, identifier_name))
3590
                          PROTO_T (CStringP file_name X
3591
                                   unsigned line_number X
3592
                                   EntryP identifier_name)
3593
{
3594
    struct ES_00005 closure; 
3595
 
3596
    closure.file_name = file_name;
3597
    closure.line_number = line_number;
3598
    closure.identifier_name = identifier_name;
3599
    error_call_init_proc ();
3600
    error_report (EE [11].error, ET_00005, (GenericP) &closure);
3601
}
3602
void
3603
E_ref_id_in_param_op PROTO_N ((file_name, line_number, identifier_name))
3604
                     PROTO_T (CStringP file_name X
3605
                              unsigned line_number X
3606
                              EntryP identifier_name)
3607
{
3608
    struct ES_00005 closure; 
3609
 
3610
    closure.file_name = file_name;
3611
    closure.line_number = line_number;
3612
    closure.identifier_name = identifier_name;
3613
    error_call_init_proc ();
3614
    error_report (EE [12].error, ET_00005, (GenericP) &closure);
3615
}
3616
void
3617
E_bad_label_substitution PROTO_N ((file_name, line_number, identifier_name))
3618
                         PROTO_T (CStringP file_name X
3619
                                  unsigned line_number X
3620
                                  EntryP identifier_name)
3621
{
3622
    struct ES_00005 closure; 
3623
 
3624
    closure.file_name = file_name;
3625
    closure.line_number = line_number;
3626
    closure.identifier_name = identifier_name;
3627
    error_call_init_proc ();
3628
    error_report (EE [13].error, ET_00005, (GenericP) &closure);
3629
}
3630
void
3631
E_bad_exception_substitution PROTO_N ((file_name, line_number))
3632
                             PROTO_T (CStringP file_name X
3633
                                      unsigned line_number)
3634
{
3635
    struct ES_00006 closure; 
3636
 
3637
    closure.file_name = file_name;
3638
    closure.line_number = line_number;
3639
    error_call_init_proc ();
3640
    error_report (EE [14].error, ET_00006, (GenericP) &closure);
3641
}
3642
void
3643
E_bad_advance_substitution PROTO_N ((file_name, line_number))
3644
                           PROTO_T (CStringP file_name X
3645
                                    unsigned line_number)
3646
{
3647
    struct ES_00006 closure; 
3648
 
3649
    closure.file_name = file_name;
3650
    closure.line_number = line_number;
3651
    error_call_init_proc ();
3652
    error_report (EE [15].error, ET_00006, (GenericP) &closure);
3653
}
3654
void
3655
E_bad_terminal_substitution PROTO_N ((file_name, line_number))
3656
                            PROTO_T (CStringP file_name X
3657
                                     unsigned line_number)
3658
{
3659
    struct ES_00006 closure; 
3660
 
3661
    closure.file_name = file_name;
3662
    closure.line_number = line_number;
3663
    error_call_init_proc ();
3664
    error_report (EE [16].error, ET_00006, (GenericP) &closure);
3665
}
3666
void
3667
E_code_undefined_result PROTO_N ((code, identifier_name))
3668
                        PROTO_T (GenericP code X
3669
                                 EntryP identifier_name)
3670
{
3671
    struct ES_00005 closure; 
3672
 
3673
	    closure.file_name = c_code_file ((CCodeP) code);
3674
	    closure.line_number = c_code_line ((CCodeP) code);
3675
    closure.identifier_name = identifier_name;
3676
    error_call_init_proc ();
3677
    error_report (EE [17].error, ET_00005, (GenericP) &closure);
3678
}
3679
void
3680
E_c_illegal_character PROTO_N ((istream, character))
3681
                      PROTO_T (IStreamP istream X
3682
                               char character)
3683
{
3684
    struct ES_00007 closure; 
3685
 
3686
	    closure.file_name = istream_name (istream);
3687
	    closure.line_number = istream_line (istream);
3688
    closure.character = character;
3689
    error_call_init_proc ();
3690
    error_report (EE [18].error, ET_00007, (GenericP) &closure);
3691
}
3692
void
3693
E_c_illegal_comment_character PROTO_N ((istream, character))
3694
                              PROTO_T (IStreamP istream X
3695
                                       char character)
3696
{
3697
    struct ES_00007 closure; 
3698
 
3699
	    closure.file_name = istream_name (istream);
3700
	    closure.line_number = istream_line (istream);
3701
    closure.character = character;
3702
    error_call_init_proc ();
3703
    error_report (EE [19].error, ET_00007, (GenericP) &closure);
3704
}
3705
void
3706
E_c_eof_in_comment PROTO_N ((istream))
3707
                   PROTO_T (IStreamP istream)
3708
{
3709
    struct ES_00006 closure; 
3710
 
3711
	    closure.file_name = istream_name (istream);
3712
	    closure.line_number = istream_line (istream);
3713
    error_call_init_proc ();
3714
    error_report (EE [20].error, ET_00006, (GenericP) &closure);
3715
}
3716
void
3717
E_c_unknown_builtin PROTO_N ((istream, builtin))
3718
                    PROTO_T (IStreamP istream X
3719
                             CStringP builtin)
3720
{
3721
    struct ES_00008 closure; 
3722
 
3723
	    closure.file_name = istream_name (istream);
3724
	    closure.line_number = istream_line (istream);
3725
    closure.builtin = builtin;
3726
    error_call_init_proc ();
3727
    error_report (EE [21].error, ET_00008, (GenericP) &closure);
3728
    UNREACHED;
3729
}
3730
void
3731
E_c_null_character_in_builtin PROTO_N ((istream))
3732
                              PROTO_T (IStreamP istream)
3733
{
3734
    struct ES_00006 closure; 
3735
 
3736
	    closure.file_name = istream_name (istream);
3737
	    closure.line_number = istream_line (istream);
3738
    error_call_init_proc ();
3739
    error_report (EE [22].error, ET_00006, (GenericP) &closure);
3740
}
3741
void
3742
E_c_eof_in_builtin PROTO_N ((istream))
3743
                   PROTO_T (IStreamP istream)
3744
{
3745
    struct ES_00006 closure; 
3746
 
3747
	    closure.file_name = istream_name (istream);
3748
	    closure.line_number = istream_line (istream);
3749
    error_call_init_proc ();
3750
    error_report (EE [23].error, ET_00006, (GenericP) &closure);
3751
}
3752
void
3753
E_c_newline_in_builtin PROTO_N ((istream))
3754
                       PROTO_T (IStreamP istream)
3755
{
3756
    struct ES_00006 closure; 
3757
 
3758
	    closure.file_name = istream_name (istream);
3759
	    closure.line_number = istream_line (istream);
3760
    error_call_init_proc ();
3761
    error_report (EE [24].error, ET_00006, (GenericP) &closure);
3762
}
3763
void
3764
E_c_code_block_syntax PROTO_N ((istream))
3765
                      PROTO_T (IStreamP istream)
3766
{
3767
    struct ES_00006 closure; 
3768
 
3769
	    closure.file_name = istream_name (istream);
3770
	    closure.line_number = istream_line (istream);
3771
    error_call_init_proc ();
3772
    error_report (EE [25].error, ET_00006, (GenericP) &closure);
3773
}
3774
void
3775
E_c_illegal_at_char PROTO_N ((istream, character))
3776
                    PROTO_T (IStreamP istream X
3777
                             char character)
3778
{
3779
    struct ES_00007 closure; 
3780
 
3781
	    closure.file_name = istream_name (istream);
3782
	    closure.line_number = istream_line (istream);
3783
    closure.character = character;
3784
    error_call_init_proc ();
3785
    error_report (EE [26].error, ET_00007, (GenericP) &closure);
3786
}
3787
void
3788
E_c_eof_in_code PROTO_N ((istream))
3789
                PROTO_T (IStreamP istream)
3790
{
3791
    struct ES_00006 closure; 
3792
 
3793
	    closure.file_name = istream_name (istream);
3794
	    closure.line_number = istream_line (istream);
3795
    error_call_init_proc ();
3796
    error_report (EE [27].error, ET_00006, (GenericP) &closure);
3797
}
3798
void
3799
E_c_expected_at_id PROTO_N ((istream, character))
3800
                   PROTO_T (IStreamP istream X
3801
                            char character)
3802
{
3803
    struct ES_00007 closure; 
3804
 
3805
	    closure.file_name = istream_name (istream);
3806
	    closure.line_number = istream_line (istream);
3807
    closure.character = character;
3808
    error_call_init_proc ();
3809
    error_report (EE [28].error, ET_00009, (GenericP) &closure);
3810
}
3811
void
3812
E_c_expected_basic PROTO_N ((class_name))
3813
                   PROTO_T (CStringP class_name)
3814
{
3815
    struct ES_00009 closure; 
3816
 
3817
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3818
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3819
    closure.class_name = class_name;
3820
    error_call_init_proc ();
3821
    error_report (EE [29].error, ET_00010, (GenericP) &closure);
3822
    UNREACHED;
3823
}
3824
void
3825
E_c_expected_non_terminal PROTO_N ((class_name))
3826
                          PROTO_T (CStringP class_name)
3827
{
3828
    struct ES_00009 closure; 
3829
 
3830
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3831
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3832
    closure.class_name = class_name;
3833
    error_call_init_proc ();
3834
    error_report (EE [30].error, ET_00010, (GenericP) &closure);
3835
    UNREACHED;
3836
}
3837
void
3838
E_c_unknown_prefix PROTO_N ((prefix))
3839
                   PROTO_T (NStringP prefix)
3840
{
3841
    struct ES_00010 closure; 
3842
 
3843
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3844
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3845
    closure.prefix = prefix;
3846
    error_call_init_proc ();
3847
    error_report (EE [31].error, ET_00011, (GenericP) &closure);
3848
}
3849
void
3850
E_c_unknown_identifier PROTO_N ((identifier_name))
3851
                       PROTO_T (NStringP identifier_name)
3852
{
3853
    struct ES_00011 closure; 
3854
 
3855
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3856
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3857
    closure.identifier_name = identifier_name;
3858
    error_call_init_proc ();
3859
    error_report (EE [32].error, ET_00012, (GenericP) &closure);
3860
}
3861
void
3862
E_c_remapped_identifier PROTO_N ((identifier_name))
3863
                        PROTO_T (NStringP identifier_name)
3864
{
3865
    struct ES_00011 closure; 
3866
 
3867
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3868
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3869
    closure.identifier_name = identifier_name;
3870
    error_call_init_proc ();
3871
    error_report (EE [33].error, ET_00012, (GenericP) &closure);
3872
}
3873
void
3874
E_c_illegal_map PROTO_N ((identifier_name))
3875
                PROTO_T (NStringP identifier_name)
3876
{
3877
    struct ES_00011 closure; 
3878
 
3879
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3880
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3881
    closure.identifier_name = identifier_name;
3882
    error_call_init_proc ();
3883
    error_report (EE [34].error, ET_00012, (GenericP) &closure);
3884
}
3885
void
3886
E_c_unknown_type PROTO_N ((type_name))
3887
                 PROTO_T (NStringP type_name)
3888
{
3889
    struct ES_00012 closure; 
3890
 
3891
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3892
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3893
    closure.type_name = type_name;
3894
    error_call_init_proc ();
3895
    error_report (EE [35].error, ET_00013, (GenericP) &closure);
3896
}
3897
void
3898
E_c_unknown_assign PROTO_N ((type_name))
3899
                   PROTO_T (NStringP type_name)
3900
{
3901
    struct ES_00012 closure; 
3902
 
3903
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3904
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3905
    closure.type_name = type_name;
3906
    error_call_init_proc ();
3907
    error_report (EE [36].error, ET_00013, (GenericP) &closure);
3908
}
3909
void
3910
E_c_assign_mult_def PROTO_N ((type_name))
3911
                    PROTO_T (NStringP type_name)
3912
{
3913
    struct ES_00012 closure; 
3914
 
3915
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3916
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3917
    closure.type_name = type_name;
3918
    error_call_init_proc ();
3919
    error_report (EE [37].error, ET_00013, (GenericP) &closure);
3920
}
3921
void
3922
E_c_assign_param_clash PROTO_N ((type_name, parameter_type))
3923
                       PROTO_T (KeyP type_name X
3924
                                TypeTupleP parameter_type)
3925
{
3926
    struct ES_00013 closure; 
3927
 
3928
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3929
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3930
    closure.type_name = type_name;
3931
    closure.parameter_type = parameter_type;
3932
    error_call_init_proc ();
3933
    error_report (EE [38].error, ET_00014, (GenericP) &closure);
3934
}
3935
void
3936
E_c_assign_param_mismatch PROTO_N ((type_name, correct_type, erroneous_type))
3937
                          PROTO_T (KeyP type_name X
3938
                                   TypeTupleP correct_type X
3939
                                   TypeTupleP erroneous_type)
3940
{
3941
    struct ES_00014 closure; 
3942
 
3943
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3944
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3945
    closure.type_name = type_name;
3946
    closure.correct_type = correct_type;
3947
    closure.erroneous_type = erroneous_type;
3948
    error_call_init_proc ();
3949
    error_report (EE [39].error, ET_00015, (GenericP) &closure);
3950
}
3951
void
3952
E_c_assign_result_clash PROTO_N ((type_name, result_type))
3953
                        PROTO_T (KeyP type_name X
3954
                                 TypeTupleP result_type)
3955
{
3956
    struct ES_00015 closure; 
3957
 
3958
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3959
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3960
    closure.type_name = type_name;
3961
    closure.result_type = result_type;
3962
    error_call_init_proc ();
3963
    error_report (EE [40].error, ET_00016, (GenericP) &closure);
3964
}
3965
void
3966
E_c_assign_result_mismatch PROTO_N ((type_name, correct_type, erroneous_type))
3967
                           PROTO_T (KeyP type_name X
3968
                                    TypeTupleP correct_type X
3969
                                    TypeTupleP erroneous_type)
3970
{
3971
    struct ES_00014 closure; 
3972
 
3973
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3974
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3975
    closure.type_name = type_name;
3976
    closure.correct_type = correct_type;
3977
    closure.erroneous_type = erroneous_type;
3978
    error_call_init_proc ();
3979
    error_report (EE [41].error, ET_00015, (GenericP) &closure);
3980
}
3981
void
3982
E_c_assign_formal_clash PROTO_N ((type_name, parameter_type, result_type))
3983
                        PROTO_T (KeyP type_name X
3984
                                 TypeTupleP parameter_type X
3985
                                 TypeTupleP result_type)
3986
{
3987
    struct ES_00016 closure; 
3988
 
3989
	    closure.file_name = c_lexer_stream_name (c_current_stream);
3990
	    closure.line_number = c_lexer_stream_line (c_current_stream);
3991
    closure.type_name = type_name;
3992
    closure.parameter_type = parameter_type;
3993
    closure.result_type = result_type;
3994
    error_call_init_proc ();
3995
    error_report (EE [42].error, ET_00017, (GenericP) &closure);
3996
}
3997
void
3998
E_c_unknown_param_assign PROTO_N ((type_name))
3999
                         PROTO_T (NStringP type_name)
4000
{
4001
    struct ES_00012 closure; 
4002
 
4003
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4004
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4005
    closure.type_name = type_name;
4006
    error_call_init_proc ();
4007
    error_report (EE [43].error, ET_00013, (GenericP) &closure);
4008
}
4009
void
4010
E_c_param_assign_mult_def PROTO_N ((type_name))
4011
                          PROTO_T (NStringP type_name)
4012
{
4013
    struct ES_00012 closure; 
4014
 
4015
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4016
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4017
    closure.type_name = type_name;
4018
    error_call_init_proc ();
4019
    error_report (EE [44].error, ET_00013, (GenericP) &closure);
4020
}
4021
void
4022
E_c_param_assign_param_clash PROTO_N ((type_name, parameter_type))
4023
                             PROTO_T (KeyP type_name X
4024
                                      TypeTupleP parameter_type)
4025
{
4026
    struct ES_00013 closure; 
4027
 
4028
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4029
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4030
    closure.type_name = type_name;
4031
    closure.parameter_type = parameter_type;
4032
    error_call_init_proc ();
4033
    error_report (EE [45].error, ET_00014, (GenericP) &closure);
4034
}
4035
void
4036
E_c_param_assign_param_mismatch PROTO_N ((type_name, correct_type, erroneous_type))
4037
                                PROTO_T (KeyP type_name X
4038
                                         TypeTupleP correct_type X
4039
                                         TypeTupleP erroneous_type)
4040
{
4041
    struct ES_00014 closure; 
4042
 
4043
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4044
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4045
    closure.type_name = type_name;
4046
    closure.correct_type = correct_type;
4047
    closure.erroneous_type = erroneous_type;
4048
    error_call_init_proc ();
4049
    error_report (EE [46].error, ET_00015, (GenericP) &closure);
4050
}
4051
void
4052
E_c_param_assign_result_clash PROTO_N ((type_name, result_type))
4053
                              PROTO_T (KeyP type_name X
4054
                                       TypeTupleP result_type)
4055
{
4056
    struct ES_00015 closure; 
4057
 
4058
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4059
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4060
    closure.type_name = type_name;
4061
    closure.result_type = result_type;
4062
    error_call_init_proc ();
4063
    error_report (EE [47].error, ET_00016, (GenericP) &closure);
4064
}
4065
void
4066
E_c_param_assign_res_mismatch PROTO_N ((type_name, correct_type, erroneous_type))
4067
                              PROTO_T (KeyP type_name X
4068
                                       TypeTupleP correct_type X
4069
                                       TypeTupleP erroneous_type)
4070
{
4071
    struct ES_00014 closure; 
4072
 
4073
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4074
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4075
    closure.type_name = type_name;
4076
    closure.correct_type = correct_type;
4077
    closure.erroneous_type = erroneous_type;
4078
    error_call_init_proc ();
4079
    error_report (EE [48].error, ET_00015, (GenericP) &closure);
4080
}
4081
void
4082
E_c_param_assign_formal_clash PROTO_N ((type_name, parameter_type, result_type))
4083
                              PROTO_T (KeyP type_name X
4084
                                       TypeTupleP parameter_type X
4085
                                       TypeTupleP result_type)
4086
{
4087
    struct ES_00016 closure; 
4088
 
4089
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4090
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4091
    closure.type_name = type_name;
4092
    closure.parameter_type = parameter_type;
4093
    closure.result_type = result_type;
4094
    error_call_init_proc ();
4095
    error_report (EE [49].error, ET_00017, (GenericP) &closure);
4096
}
4097
void
4098
E_c_unknown_result_assign PROTO_N ((type_name))
4099
                          PROTO_T (NStringP type_name)
4100
{
4101
    struct ES_00012 closure; 
4102
 
4103
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4104
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4105
    closure.type_name = type_name;
4106
    error_call_init_proc ();
4107
    error_report (EE [50].error, ET_00013, (GenericP) &closure);
4108
}
4109
void
4110
E_c_result_assign_mult_def PROTO_N ((type_name))
4111
                           PROTO_T (NStringP type_name)
4112
{
4113
    struct ES_00012 closure; 
4114
 
4115
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4116
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4117
    closure.type_name = type_name;
4118
    error_call_init_proc ();
4119
    error_report (EE [51].error, ET_00013, (GenericP) &closure);
4120
}
4121
void
4122
E_c_result_assign_param_clash PROTO_N ((type_name, parameter_type))
4123
                              PROTO_T (KeyP type_name X
4124
                                       TypeTupleP parameter_type)
4125
{
4126
    struct ES_00013 closure; 
4127
 
4128
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4129
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4130
    closure.type_name = type_name;
4131
    closure.parameter_type = parameter_type;
4132
    error_call_init_proc ();
4133
    error_report (EE [52].error, ET_00014, (GenericP) &closure);
4134
}
4135
void
4136
E_c_res_assign_param_mismatch PROTO_N ((type_name, correct_type, erroneous_type))
4137
                              PROTO_T (KeyP type_name X
4138
                                       TypeTupleP correct_type X
4139
                                       TypeTupleP erroneous_type)
4140
{
4141
    struct ES_00014 closure; 
4142
 
4143
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4144
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4145
    closure.type_name = type_name;
4146
    closure.correct_type = correct_type;
4147
    closure.erroneous_type = erroneous_type;
4148
    error_call_init_proc ();
4149
    error_report (EE [53].error, ET_00015, (GenericP) &closure);
4150
}
4151
void
4152
E_c_result_assign_result_clash PROTO_N ((type_name, result_type))
4153
                               PROTO_T (KeyP type_name X
4154
                                        TypeTupleP result_type)
4155
{
4156
    struct ES_00015 closure; 
4157
 
4158
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4159
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4160
    closure.type_name = type_name;
4161
    closure.result_type = result_type;
4162
    error_call_init_proc ();
4163
    error_report (EE [54].error, ET_00016, (GenericP) &closure);
4164
}
4165
void
4166
E_c_res_assign_result_mismatch PROTO_N ((type_name, correct_type, erroneous_type))
4167
                               PROTO_T (KeyP type_name X
4168
                                        TypeTupleP correct_type X
4169
                                        TypeTupleP erroneous_type)
4170
{
4171
    struct ES_00014 closure; 
4172
 
4173
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4174
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4175
    closure.type_name = type_name;
4176
    closure.correct_type = correct_type;
4177
    closure.erroneous_type = erroneous_type;
4178
    error_call_init_proc ();
4179
    error_report (EE [55].error, ET_00015, (GenericP) &closure);
4180
}
4181
void
4182
E_c_result_assign_formal_clash PROTO_N ((type_name, parameter_type, result_type))
4183
                               PROTO_T (KeyP type_name X
4184
                                        TypeTupleP parameter_type X
4185
                                        TypeTupleP result_type)
4186
{
4187
    struct ES_00016 closure; 
4188
 
4189
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4190
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4191
    closure.type_name = type_name;
4192
    closure.parameter_type = parameter_type;
4193
    closure.result_type = result_type;
4194
    error_call_init_proc ();
4195
    error_report (EE [56].error, ET_00017, (GenericP) &closure);
4196
}
4197
void
4198
E_c_unknown_action PROTO_N ((action_name))
4199
                   PROTO_T (NStringP action_name)
4200
{
4201
    struct ES_00017 closure; 
4202
 
4203
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4204
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4205
    closure.action_name = action_name;
4206
    error_call_init_proc ();
4207
    error_report (EE [57].error, ET_00018, (GenericP) &closure);
4208
}
4209
void
4210
E_c_action_mult_def PROTO_N ((action_name))
4211
                    PROTO_T (NStringP action_name)
4212
{
4213
    struct ES_00017 closure; 
4214
 
4215
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4216
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4217
    closure.action_name = action_name;
4218
    error_call_init_proc ();
4219
    error_report (EE [58].error, ET_00018, (GenericP) &closure);
4220
}
4221
void
4222
E_c_action_param_clash PROTO_N ((action_name, parameter_type))
4223
                       PROTO_T (KeyP action_name X
4224
                                TypeTupleP parameter_type)
4225
{
4226
    struct ES_00018 closure; 
4227
 
4228
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4229
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4230
    closure.action_name = action_name;
4231
    closure.parameter_type = parameter_type;
4232
    error_call_init_proc ();
4233
    error_report (EE [59].error, ET_00019, (GenericP) &closure);
4234
}
4235
void
4236
E_c_action_param_mismatch PROTO_N ((action_name, correct_type, erroneous_type))
4237
                          PROTO_T (KeyP action_name X
4238
                                   TypeTupleP correct_type X
4239
                                   TypeTupleP erroneous_type)
4240
{
4241
    struct ES_00019 closure; 
4242
 
4243
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4244
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4245
    closure.action_name = action_name;
4246
    closure.correct_type = correct_type;
4247
    closure.erroneous_type = erroneous_type;
4248
    error_call_init_proc ();
4249
    error_report (EE [60].error, ET_00020, (GenericP) &closure);
4250
}
4251
void
4252
E_c_action_result_clash PROTO_N ((action_name, result_type))
4253
                        PROTO_T (KeyP action_name X
4254
                                 TypeTupleP result_type)
4255
{
4256
    struct ES_00020 closure; 
4257
 
4258
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4259
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4260
    closure.action_name = action_name;
4261
    closure.result_type = result_type;
4262
    error_call_init_proc ();
4263
    error_report (EE [61].error, ET_00021, (GenericP) &closure);
4264
}
4265
void
4266
E_c_action_result_mismatch PROTO_N ((action_name, correct_type, erroneous_type))
4267
                           PROTO_T (KeyP action_name X
4268
                                    TypeTupleP correct_type X
4269
                                    TypeTupleP erroneous_type)
4270
{
4271
    struct ES_00019 closure; 
4272
 
4273
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4274
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4275
    closure.action_name = action_name;
4276
    closure.correct_type = correct_type;
4277
    closure.erroneous_type = erroneous_type;
4278
    error_call_init_proc ();
4279
    error_report (EE [62].error, ET_00020, (GenericP) &closure);
4280
}
4281
void
4282
E_c_action_formal_clash PROTO_N ((action_name, parameter_type, result_type))
4283
                        PROTO_T (KeyP action_name X
4284
                                 TypeTupleP parameter_type X
4285
                                 TypeTupleP result_type)
4286
{
4287
    struct ES_00021 closure; 
4288
 
4289
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4290
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4291
    closure.action_name = action_name;
4292
    closure.parameter_type = parameter_type;
4293
    closure.result_type = result_type;
4294
    error_call_init_proc ();
4295
    error_report (EE [63].error, ET_00022, (GenericP) &closure);
4296
}
4297
void
4298
E_c_unknown_basic PROTO_N ((terminal_name))
4299
                  PROTO_T (NStringP terminal_name)
4300
{
4301
    struct ES_00022 closure; 
4302
 
4303
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4304
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4305
    closure.terminal_name = terminal_name;
4306
    error_call_init_proc ();
4307
    error_report (EE [64].error, ET_00023, (GenericP) &closure);
4308
}
4309
void
4310
E_c_basic_mult_def PROTO_N ((terminal_name))
4311
                   PROTO_T (NStringP terminal_name)
4312
{
4313
    struct ES_00022 closure; 
4314
 
4315
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4316
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4317
    closure.terminal_name = terminal_name;
4318
    error_call_init_proc ();
4319
    error_report (EE [65].error, ET_00023, (GenericP) &closure);
4320
}
4321
void
4322
E_c_basic_param_clash PROTO_N ((terminal_name, parameter_type))
4323
                      PROTO_T (KeyP terminal_name X
4324
                               TypeTupleP parameter_type)
4325
{
4326
    struct ES_00023 closure; 
4327
 
4328
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4329
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4330
    closure.terminal_name = terminal_name;
4331
    closure.parameter_type = parameter_type;
4332
    error_call_init_proc ();
4333
    error_report (EE [66].error, ET_00024, (GenericP) &closure);
4334
}
4335
void
4336
E_c_basic_param_mismatch PROTO_N ((terminal_name, erroneous_type))
4337
                         PROTO_T (KeyP terminal_name X
4338
                                  TypeTupleP erroneous_type)
4339
{
4340
    struct ES_00024 closure; 
4341
 
4342
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4343
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4344
    closure.terminal_name = terminal_name;
4345
    closure.erroneous_type = erroneous_type;
4346
    error_call_init_proc ();
4347
    error_report (EE [67].error, ET_00025, (GenericP) &closure);
4348
}
4349
void
4350
E_c_basic_result_clash PROTO_N ((terminal_name, result_type))
4351
                       PROTO_T (KeyP terminal_name X
4352
                                TypeTupleP result_type)
4353
{
4354
    struct ES_00025 closure; 
4355
 
4356
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4357
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4358
    closure.terminal_name = terminal_name;
4359
    closure.result_type = result_type;
4360
    error_call_init_proc ();
4361
    error_report (EE [68].error, ET_00026, (GenericP) &closure);
4362
}
4363
void
4364
E_c_basic_result_mismatch PROTO_N ((terminal_name, correct_type, erroneous_type))
4365
                          PROTO_T (KeyP terminal_name X
4366
                                   TypeTupleP correct_type X
4367
                                   TypeTupleP erroneous_type)
4368
{
4369
    struct ES_00026 closure; 
4370
 
4371
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4372
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4373
    closure.terminal_name = terminal_name;
4374
    closure.correct_type = correct_type;
4375
    closure.erroneous_type = erroneous_type;
4376
    error_call_init_proc ();
4377
    error_report (EE [69].error, ET_00027, (GenericP) &closure);
4378
}
4379
void
4380
E_c_basic_formal_clash PROTO_N ((terminal_name, parameter_type, result_type))
4381
                       PROTO_T (KeyP terminal_name X
4382
                                TypeTupleP parameter_type X
4383
                                TypeTupleP result_type)
4384
{
4385
    struct ES_00027 closure; 
4386
 
4387
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4388
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4389
    closure.terminal_name = terminal_name;
4390
    closure.parameter_type = parameter_type;
4391
    closure.result_type = result_type;
4392
    error_call_init_proc ();
4393
    error_report (EE [70].error, ET_00028, (GenericP) &closure);
4394
}
4395
void
4396
E_c_basic_has_no_result PROTO_N ((terminal_name))
4397
                        PROTO_T (NStringP terminal_name)
4398
{
4399
    struct ES_00022 closure; 
4400
 
4401
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4402
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4403
    closure.terminal_name = terminal_name;
4404
    error_call_init_proc ();
4405
    error_report (EE [71].error, ET_00023, (GenericP) &closure);
4406
}
4407
void
4408
E_c_expected_identifier PROTO_Z ()
4409
{
4410
    struct ES_00006 closure; 
4411
 
4412
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4413
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4414
    error_call_init_proc ();
4415
    error_report (EE [72].error, ET_00006, (GenericP) &closure);
4416
}
4417
void
4418
E_c_expected_c_identifier PROTO_Z ()
4419
{
4420
    struct ES_00006 closure; 
4421
 
4422
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4423
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4424
    error_call_init_proc ();
4425
    error_report (EE [73].error, ET_00006, (GenericP) &closure);
4426
}
4427
void
4428
E_c_expected_separator PROTO_Z ()
4429
{
4430
    struct ES_00006 closure; 
4431
 
4432
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4433
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4434
    error_call_init_proc ();
4435
    error_report (EE [74].error, ET_00006, (GenericP) &closure);
4436
}
4437
void
4438
E_c_expected_open_tuple PROTO_Z ()
4439
{
4440
    struct ES_00006 closure; 
4441
 
4442
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4443
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4444
    error_call_init_proc ();
4445
    error_report (EE [75].error, ET_00006, (GenericP) &closure);
4446
}
4447
void
4448
E_c_expected_close_tuple PROTO_Z ()
4449
{
4450
    struct ES_00006 closure; 
4451
 
4452
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4453
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4454
    error_call_init_proc ();
4455
    error_report (EE [76].error, ET_00006, (GenericP) &closure);
4456
}
4457
void
4458
E_c_expected_arrow PROTO_Z ()
4459
{
4460
    struct ES_00006 closure; 
4461
 
4462
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4463
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4464
    error_call_init_proc ();
4465
    error_report (EE [77].error, ET_00006, (GenericP) &closure);
4466
}
4467
void
4468
E_c_expected_terminator PROTO_Z ()
4469
{
4470
    struct ES_00006 closure; 
4471
 
4472
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4473
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4474
    error_call_init_proc ();
4475
    error_report (EE [78].error, ET_00006, (GenericP) &closure);
4476
}
4477
void
4478
E_c_expected_end_action PROTO_Z ()
4479
{
4480
    struct ES_00006 closure; 
4481
 
4482
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4483
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4484
    error_call_init_proc ();
4485
    error_report (EE [79].error, ET_00006, (GenericP) &closure);
4486
}
4487
void
4488
E_c_expected_define PROTO_Z ()
4489
{
4490
    struct ES_00006 closure; 
4491
 
4492
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4493
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4494
    error_call_init_proc ();
4495
    error_report (EE [80].error, ET_00006, (GenericP) &closure);
4496
}
4497
void
4498
E_c_expected_code PROTO_Z ()
4499
{
4500
    struct ES_00006 closure; 
4501
 
4502
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4503
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4504
    error_call_init_proc ();
4505
    error_report (EE [81].error, ET_00006, (GenericP) &closure);
4506
}
4507
void
4508
E_c_expected_blt_header PROTO_Z ()
4509
{
4510
    struct ES_00006 closure; 
4511
 
4512
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4513
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4514
    error_call_init_proc ();
4515
    error_report (EE [82].error, ET_00006, (GenericP) &closure);
4516
}
4517
void
4518
E_c_expected_blt_terminals PROTO_Z ()
4519
{
4520
    struct ES_00006 closure; 
4521
 
4522
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4523
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4524
    error_call_init_proc ();
4525
    error_report (EE [83].error, ET_00006, (GenericP) &closure);
4526
}
4527
void
4528
E_c_expected_blt_actions PROTO_Z ()
4529
{
4530
    struct ES_00006 closure; 
4531
 
4532
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4533
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4534
    error_call_init_proc ();
4535
    error_report (EE [84].error, ET_00006, (GenericP) &closure);
4536
}
4537
void
4538
E_c_expected_blt_trailer PROTO_Z ()
4539
{
4540
    struct ES_00006 closure; 
4541
 
4542
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4543
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4544
    error_call_init_proc ();
4545
    error_report (EE [85].error, ET_00006, (GenericP) &closure);
4546
}
4547
void
4548
E_c_expected_eof PROTO_Z ()
4549
{
4550
    struct ES_00006 closure; 
4551
 
4552
	    closure.file_name = c_lexer_stream_name (c_current_stream);
4553
	    closure.line_number = c_lexer_stream_line (c_current_stream);
4554
    error_call_init_proc ();
4555
    error_report (EE [86].error, ET_00006, (GenericP) &closure);
4556
}
4557
void
4558
E_errf_null_char_in_builtin PROTO_N ((istream))
4559
                            PROTO_T (IStreamP istream)
4560
{
4561
    struct ES_00006 closure; 
4562
 
4563
	    closure.file_name = istream_name (istream);
4564
	    closure.line_number = istream_line (istream);
4565
    error_call_init_proc ();
4566
    error_report (EE [87].error, ET_00006, (GenericP) &closure);
4567
    UNREACHED;
4568
}
4569
void
4570
E_errf_null_character_in_name PROTO_N ((istream))
4571
                              PROTO_T (IStreamP istream)
4572
{
4573
    struct ES_00006 closure; 
4574
 
4575
	    closure.file_name = istream_name (istream);
4576
	    closure.line_number = istream_line (istream);
4577
    error_call_init_proc ();
4578
    error_report (EE [88].error, ET_00006, (GenericP) &closure);
4579
    UNREACHED;
4580
}
4581
void
4582
E_errf_null_character_in_string PROTO_N ((istream))
4583
                                PROTO_T (IStreamP istream)
4584
{
4585
    struct ES_00006 closure; 
4586
 
4587
	    closure.file_name = istream_name (istream);
4588
	    closure.line_number = istream_line (istream);
4589
    error_call_init_proc ();
4590
    error_report (EE [89].error, ET_00006, (GenericP) &closure);
4591
    UNREACHED;
4592
}
4593
void
4594
E_errf_newline_in_builtin PROTO_N ((istream))
4595
                          PROTO_T (IStreamP istream)
4596
{
4597
    struct ES_00006 closure; 
4598
 
4599
	    closure.file_name = istream_name (istream);
4600
	    closure.line_number = istream_line (istream);
4601
    error_call_init_proc ();
4602
    error_report (EE [90].error, ET_00006, (GenericP) &closure);
4603
    UNREACHED;
4604
}
4605
void
4606
E_errf_newline_in_name PROTO_N ((istream))
4607
                       PROTO_T (IStreamP istream)
4608
{
4609
    struct ES_00006 closure; 
4610
 
4611
	    closure.file_name = istream_name (istream);
4612
	    closure.line_number = istream_line (istream);
4613
    error_call_init_proc ();
4614
    error_report (EE [91].error, ET_00006, (GenericP) &closure);
4615
    UNREACHED;
4616
}
4617
void
4618
E_errf_newline_in_string PROTO_N ((istream))
4619
                         PROTO_T (IStreamP istream)
4620
{
4621
    struct ES_00006 closure; 
4622
 
4623
	    closure.file_name = istream_name (istream);
4624
	    closure.line_number = istream_line (istream);
4625
    error_call_init_proc ();
4626
    error_report (EE [92].error, ET_00006, (GenericP) &closure);
4627
    UNREACHED;
4628
}
4629
void
4630
E_errf_eof_in_builtin PROTO_N ((istream))
4631
                      PROTO_T (IStreamP istream)
4632
{
4633
    struct ES_00006 closure; 
4634
 
4635
	    closure.file_name = istream_name (istream);
4636
	    closure.line_number = istream_line (istream);
4637
    error_call_init_proc ();
4638
    error_report (EE [93].error, ET_00006, (GenericP) &closure);
4639
    UNREACHED;
4640
}
4641
void
4642
E_errf_eof_in_name PROTO_N ((istream))
4643
                   PROTO_T (IStreamP istream)
4644
{
4645
    struct ES_00006 closure; 
4646
 
4647
	    closure.file_name = istream_name (istream);
4648
	    closure.line_number = istream_line (istream);
4649
    error_call_init_proc ();
4650
    error_report (EE [94].error, ET_00006, (GenericP) &closure);
4651
    UNREACHED;
4652
}
4653
void
4654
E_errf_eof_in_string PROTO_N ((istream))
4655
                     PROTO_T (IStreamP istream)
4656
{
4657
    struct ES_00006 closure; 
4658
 
4659
	    closure.file_name = istream_name (istream);
4660
	    closure.line_number = istream_line (istream);
4661
    error_call_init_proc ();
4662
    error_report (EE [95].error, ET_00006, (GenericP) &closure);
4663
    UNREACHED;
4664
}
4665
void
4666
E_errf_illegal_esc_in_builtin PROTO_N ((istream))
4667
                              PROTO_T (IStreamP istream)
4668
{
4669
    struct ES_00006 closure; 
4670
 
4671
	    closure.file_name = istream_name (istream);
4672
	    closure.line_number = istream_line (istream);
4673
    error_call_init_proc ();
4674
    error_report (EE [96].error, ET_00006, (GenericP) &closure);
4675
    UNREACHED;
4676
}
4677
void
4678
E_errf_illegal_escape_in_name PROTO_N ((istream))
4679
                              PROTO_T (IStreamP istream)
4680
{
4681
    struct ES_00006 closure; 
4682
 
4683
	    closure.file_name = istream_name (istream);
4684
	    closure.line_number = istream_line (istream);
4685
    error_call_init_proc ();
4686
    error_report (EE [97].error, ET_00006, (GenericP) &closure);
4687
    UNREACHED;
4688
}
4689
void
4690
E_errf_illegal_escape_in_string PROTO_N ((istream))
4691
                                PROTO_T (IStreamP istream)
4692
{
4693
    struct ES_00006 closure; 
4694
 
4695
	    closure.file_name = istream_name (istream);
4696
	    closure.line_number = istream_line (istream);
4697
    error_call_init_proc ();
4698
    error_report (EE [98].error, ET_00006, (GenericP) &closure);
4699
    UNREACHED;
4700
}
4701
void
4702
E_errf_unknown_builtin PROTO_N ((istream, builtin_name))
4703
                       PROTO_T (IStreamP istream X
4704
                                CStringP builtin_name)
4705
{
4706
    struct ES_00028 closure; 
4707
 
4708
	    closure.file_name = istream_name (istream);
4709
	    closure.line_number = istream_line (istream);
4710
    closure.builtin_name = builtin_name;
4711
    error_call_init_proc ();
4712
    error_report (EE [99].error, ET_00029, (GenericP) &closure);
4713
    UNREACHED;
4714
}
4715
void
4716
E_errf_illegal_character PROTO_N ((istream, character))
4717
                         PROTO_T (IStreamP istream X
4718
                                  char character)
4719
{
4720
    struct ES_00007 closure; 
4721
 
4722
	    closure.file_name = istream_name (istream);
4723
	    closure.line_number = istream_line (istream);
4724
    closure.character = character;
4725
    error_call_init_proc ();
4726
    error_report (EE [100].error, ET_00007, (GenericP) &closure);
4727
    UNREACHED;
4728
}
4729
void
4730
E_errf_expected_string PROTO_N ((istream))
4731
                       PROTO_T (IStreamP istream)
4732
{
4733
    struct ES_00006 closure; 
4734
 
4735
	    closure.file_name = istream_name (istream);
4736
	    closure.line_number = istream_line (istream);
4737
    error_call_init_proc ();
4738
    error_report (EE [101].error, ET_00006, (GenericP) &closure);
4739
    UNREACHED;
4740
}
4741
void
4742
E_errf_expected_section PROTO_N ((istream))
4743
                        PROTO_T (IStreamP istream)
4744
{
4745
    struct ES_00006 closure; 
4746
 
4747
	    closure.file_name = istream_name (istream);
4748
	    closure.line_number = istream_line (istream);
4749
    error_call_init_proc ();
4750
    error_report (EE [102].error, ET_00006, (GenericP) &closure);
4751
    UNREACHED;
4752
}
4753
void
4754
E_errf_unknown_string PROTO_N ((istream, string_name))
4755
                      PROTO_T (IStreamP istream X
4756
                               CStringP string_name)
4757
{
4758
    struct ES_00029 closure; 
4759
 
4760
	    closure.file_name = istream_name (istream);
4761
	    closure.line_number = istream_line (istream);
4762
    closure.string_name = string_name;
4763
    error_call_init_proc ();
4764
    error_report (EE [103].error, ET_00030, (GenericP) &closure);
4765
    UNREACHED;
4766
}
4767
void
4768
E_errf_unknown_error PROTO_N ((istream, error_name))
4769
                     PROTO_T (IStreamP istream X
4770
                              CStringP error_name)
4771
{
4772
    struct ES_00030 closure; 
4773
 
4774
	    closure.file_name = istream_name (istream);
4775
	    closure.line_number = istream_line (istream);
4776
    closure.error_name = error_name;
4777
    error_call_init_proc ();
4778
    error_report (EE [104].error, ET_00031, (GenericP) &closure);
4779
    UNREACHED;
4780
}
4781
void
4782
E_errf_illegal_message PROTO_N ((istream, message))
4783
                       PROTO_T (IStreamP istream X
4784
                                CStringP message)
4785
{
4786
    struct ES_00031 closure; 
4787
 
4788
	    closure.file_name = istream_name (istream);
4789
	    closure.line_number = istream_line (istream);
4790
    closure.message = message;
4791
    error_call_init_proc ();
4792
    error_report (EE [105].error, ET_00032, (GenericP) &closure);
4793
    UNREACHED;
4794
}
4795
void
4796
E_errf_cannot_open PROTO_N ((file_name))
4797
                   PROTO_T (CStringP file_name)
4798
{
4799
    struct ES_00032 closure; 
4800
 
4801
    closure.file_name = file_name;
4802
    error_call_init_proc ();
4803
    error_report (EE [106].error, ET_00033, (GenericP) &closure);
4804
    UNREACHED;
4805
}
4806
void
4807
E_exception_unhandled PROTO_N ((except_name, file_name, line_number))
4808
                      PROTO_T (ExceptionP except_name X
4809
                               CStringP file_name X
4810
                               unsigned line_number)
4811
{
4812
    struct ES_00033 closure; 
4813
 
4814
    closure.except_name = except_name;
4815
    closure.file_name = file_name;
4816
    closure.line_number = line_number;
4817
    error_call_init_proc ();
4818
    error_report (EE [107].error, ET_00034, (GenericP) &closure);
4819
    UNREACHED;
4820
}
4821
void
4822
E_exception_corrupt_handler PROTO_N ((file_name, line_number))
4823
                            PROTO_T (CStringP file_name X
4824
                                     unsigned line_number)
4825
{
4826
    struct ES_00006 closure; 
4827
 
4828
    closure.file_name = file_name;
4829
    closure.line_number = line_number;
4830
    error_call_init_proc ();
4831
    error_report (EE [108].error, ET_00006, (GenericP) &closure);
4832
    UNREACHED;
4833
}
4834
void
4835
E_assertion_failed PROTO_N ((assertion, file_name, line_number))
4836
                   PROTO_T (CStringP assertion X
4837
                            CStringP file_name X
4838
                            unsigned line_number)
4839
{
4840
    struct ES_00034 closure; 
4841
 
4842
    closure.assertion = assertion;
4843
    closure.file_name = file_name;
4844
    closure.line_number = line_number;
4845
    error_call_init_proc ();
4846
    error_report (EE [109].error, ET_00035, (GenericP) &closure);
4847
    UNREACHED;
4848
}
4849
void
4850
E_dalloc_multi_deallocate PROTO_N ((block_address, file_name, line_number, allocation_file_name, allocation_line_number))
4851
                          PROTO_T (GenericP block_address X
4852
                                   CStringP file_name X
4853
                                   unsigned line_number X
4854
                                   CStringP allocation_file_name X
4855
                                   unsigned allocation_line_number)
4856
{
4857
    struct ES_00035 closure; 
4858
 
4859
    closure.block_address = block_address;
4860
    closure.file_name = file_name;
4861
    closure.line_number = line_number;
4862
    closure.allocation_file_name = allocation_file_name;
4863
    closure.allocation_line_number = allocation_line_number;
4864
    error_call_init_proc ();
4865
    error_report (EE [110].error, ET_00036, (GenericP) &closure);
4866
    UNREACHED;
4867
}
4868
void
4869
E_dalloc_corrupt_block PROTO_N ((block_address, file_name, line_number))
4870
                       PROTO_T (GenericP block_address X
4871
                                CStringP file_name X
4872
                                unsigned line_number)
4873
{
4874
    struct ES_00036 closure; 
4875
 
4876
    closure.block_address = block_address;
4877
    closure.file_name = file_name;
4878
    closure.line_number = line_number;
4879
    error_call_init_proc ();
4880
    error_report (EE [111].error, ET_00037, (GenericP) &closure);
4881
    UNREACHED;
4882
}
4883
void
4884
E_rule_not_used PROTO_N ((rule_name))
4885
                PROTO_T (KeyP rule_name)
4886
{
4887
    struct ES_00037 closure; 
4888
 
4889
    closure.rule_name = rule_name;
4890
    error_call_init_proc ();
4891
    error_report (EE [112].error, ET_00038, (GenericP) &closure);
4892
}
4893
void
4894
E_basic_not_used PROTO_N ((basic_name))
4895
                 PROTO_T (KeyP basic_name)
4896
{
4897
    struct ES_00002 closure; 
4898
 
4899
    closure.basic_name = basic_name;
4900
    error_call_init_proc ();
4901
    error_report (EE [113].error, ET_00002, (GenericP) &closure);
4902
}
4903
void
4904
E_action_not_used PROTO_N ((action_name))
4905
                  PROTO_T (KeyP action_name)
4906
{
4907
    struct ES_00003 closure; 
4908
 
4909
    closure.action_name = action_name;
4910
    error_call_init_proc ();
4911
    error_report (EE [114].error, ET_00003, (GenericP) &closure);
4912
}
4913
void
4914
E_type_not_used PROTO_N ((type_name))
4915
                PROTO_T (KeyP type_name)
4916
{
4917
    struct ES_00004 closure; 
4918
 
4919
    closure.type_name = type_name;
4920
    error_call_init_proc ();
4921
    error_report (EE [115].error, ET_00004, (GenericP) &closure);
4922
}
4923
void
4924
E_non_local_not_used PROTO_N ((non_local_name_name))
4925
                     PROTO_T (KeyP non_local_name_name)
4926
{
4927
    struct ES_00038 closure; 
4928
 
4929
    closure.non_local_name_name = non_local_name_name;
4930
    error_call_init_proc ();
4931
    error_report (EE [116].error, ET_00039, (GenericP) &closure);
4932
}
4933
void
4934
E_rule_not_defined PROTO_N ((rule_name))
4935
                   PROTO_T (KeyP rule_name)
4936
{
4937
    struct ES_00037 closure; 
4938
 
4939
    closure.rule_name = rule_name;
4940
    error_call_init_proc ();
4941
    error_report (EE [117].error, ET_00038, (GenericP) &closure);
4942
}
4943
void
4944
E_too_many_terminals PROTO_Z ()
4945
{
4946
    error_call_init_proc ();
4947
    error_report (EE [118].error, ET_00040, NIL (GenericP));
4948
    UNREACHED;
4949
}
4950
void
4951
E_illegal_character PROTO_N ((istream, character))
4952
                    PROTO_T (IStreamP istream X
4953
                             char character)
4954
{
4955
    struct ES_00007 closure; 
4956
 
4957
	    closure.file_name = istream_name (istream);
4958
	    closure.line_number = istream_line (istream);
4959
    closure.character = character;
4960
    error_call_init_proc ();
4961
    error_report (EE [119].error, ET_00007, (GenericP) &closure);
4962
}
4963
void
4964
E_illegal_comment_character PROTO_N ((istream, character))
4965
                            PROTO_T (IStreamP istream X
4966
                                     char character)
4967
{
4968
    struct ES_00007 closure; 
4969
 
4970
	    closure.file_name = istream_name (istream);
4971
	    closure.line_number = istream_line (istream);
4972
    closure.character = character;
4973
    error_call_init_proc ();
4974
    error_report (EE [120].error, ET_00007, (GenericP) &closure);
4975
}
4976
void
4977
E_eof_in_comment PROTO_N ((istream))
4978
                 PROTO_T (IStreamP istream)
4979
{
4980
    struct ES_00006 closure; 
4981
 
4982
	    closure.file_name = istream_name (istream);
4983
	    closure.line_number = istream_line (istream);
4984
    error_call_init_proc ();
4985
    error_report (EE [121].error, ET_00006, (GenericP) &closure);
4986
}
4987
void
4988
E_unknown_builtin PROTO_N ((istream, builtin))
4989
                  PROTO_T (IStreamP istream X
4990
                           CStringP builtin)
4991
{
4992
    struct ES_00008 closure; 
4993
 
4994
	    closure.file_name = istream_name (istream);
4995
	    closure.line_number = istream_line (istream);
4996
    closure.builtin = builtin;
4997
    error_call_init_proc ();
4998
    error_report (EE [122].error, ET_00008, (GenericP) &closure);
4999
    UNREACHED;
5000
}
5001
void
5002
E_null_character_in_builtin PROTO_N ((istream))
5003
                            PROTO_T (IStreamP istream)
5004
{
5005
    struct ES_00006 closure; 
5006
 
5007
	    closure.file_name = istream_name (istream);
5008
	    closure.line_number = istream_line (istream);
5009
    error_call_init_proc ();
5010
    error_report (EE [123].error, ET_00006, (GenericP) &closure);
5011
}
5012
void
5013
E_eof_in_builtin PROTO_N ((istream))
5014
                 PROTO_T (IStreamP istream)
5015
{
5016
    struct ES_00006 closure; 
5017
 
5018
	    closure.file_name = istream_name (istream);
5019
	    closure.line_number = istream_line (istream);
5020
    error_call_init_proc ();
5021
    error_report (EE [124].error, ET_00006, (GenericP) &closure);
5022
}
5023
void
5024
E_newline_in_builtin PROTO_N ((istream))
5025
                     PROTO_T (IStreamP istream)
5026
{
5027
    struct ES_00006 closure; 
5028
 
5029
	    closure.file_name = istream_name (istream);
5030
	    closure.line_number = istream_line (istream);
5031
    error_call_init_proc ();
5032
    error_report (EE [125].error, ET_00006, (GenericP) &closure);
5033
}
5034
void
5035
E_expected_hash PROTO_N ((istream))
5036
                PROTO_T (IStreamP istream)
5037
{
5038
    struct ES_00006 closure; 
5039
 
5040
	    closure.file_name = istream_name (istream);
5041
	    closure.line_number = istream_line (istream);
5042
    error_call_init_proc ();
5043
    error_report (EE [126].error, ET_00006, (GenericP) &closure);
5044
}
5045
void
5046
E_expected_pipe PROTO_N ((istream))
5047
                PROTO_T (IStreamP istream)
5048
{
5049
    struct ES_00006 closure; 
5050
 
5051
	    closure.file_name = istream_name (istream);
5052
	    closure.line_number = istream_line (istream);
5053
    error_call_init_proc ();
5054
    error_report (EE [127].error, ET_00006, (GenericP) &closure);
5055
}
5056
void
5057
E_bad_tab_width PROTO_N ((tab_width))
5058
                PROTO_T (CStringP tab_width)
5059
{
5060
    struct ES_00039 closure; 
5061
 
5062
    closure.tab_width = tab_width;
5063
    error_call_init_proc ();
5064
    error_report (EE [128].error, ET_00041, (GenericP) &closure);
5065
    UNREACHED;
5066
}
5067
void
5068
E_bad_factor_limit PROTO_N ((factor_limit))
5069
                   PROTO_T (CStringP factor_limit)
5070
{
5071
    struct ES_00040 closure; 
5072
 
5073
    closure.factor_limit = factor_limit;
5074
    error_call_init_proc ();
5075
    error_report (EE [129].error, ET_00042, (GenericP) &closure);
5076
    UNREACHED;
5077
}
5078
void
5079
E_bad_inlining_phase PROTO_N ((phase))
5080
                     PROTO_T (CStringP phase)
5081
{
5082
    struct ES_00041 closure; 
5083
 
5084
    closure.phase = phase;
5085
    error_call_init_proc ();
5086
    error_report (EE [130].error, ET_00043, (GenericP) &closure);
5087
    UNREACHED;
5088
}
5089
void
5090
E_bad_language PROTO_N ((language_name))
5091
               PROTO_T (CStringP language_name)
5092
{
5093
    struct ES_00042 closure; 
5094
 
5095
    closure.language_name = language_name;
5096
    error_call_init_proc ();
5097
    error_report (EE [131].error, ET_00044, (GenericP) &closure);
5098
    UNREACHED;
5099
}
5100
void
5101
E_bad_language_option PROTO_N ((language_name, option))
5102
                      PROTO_T (CStringP language_name X
5103
                               CStringP option)
5104
{
5105
    struct ES_00043 closure; 
5106
 
5107
    closure.language_name = language_name;
5108
    closure.option = option;
5109
    error_call_init_proc ();
5110
    error_report (EE [132].error, ET_00045, (GenericP) &closure);
5111
    UNREACHED;
5112
}
5113
void
5114
E_bad_split_size PROTO_N ((split_size))
5115
                 PROTO_T (CStringP split_size)
5116
{
5117
    struct ES_00044 closure; 
5118
 
5119
    closure.split_size = split_size;
5120
    error_call_init_proc ();
5121
    error_report (EE [133].error, ET_00046, (GenericP) &closure);
5122
    UNREACHED;
5123
}
5124
void
5125
E_usage PROTO_N ((language_name, number_input_files, number_output_files, usage))
5126
        PROTO_T (CStringP language_name X
5127
                 unsigned number_input_files X
5128
                 unsigned number_output_files X
5129
                 ArgUsageP usage)
5130
{
5131
    struct ES_00045 closure; 
5132
 
5133
    closure.language_name = language_name;
5134
    closure.number_input_files = number_input_files;
5135
    closure.number_output_files = number_output_files;
5136
    closure.usage = usage;
5137
    error_call_init_proc ();
5138
    error_report (EE [134].error, ET_00047, (GenericP) &closure);
5139
    UNREACHED;
5140
}
5141
void
5142
E_cannot_open_dump_file PROTO_N ((file_name))
5143
                        PROTO_T (CStringP file_name)
5144
{
5145
    struct ES_00032 closure; 
5146
 
5147
    closure.file_name = file_name;
5148
    error_call_init_proc ();
5149
    error_report (EE [135].error, ET_00033, (GenericP) &closure);
5150
    UNREACHED;
5151
}
5152
void
5153
E_multiple_dump_files PROTO_Z ()
5154
{
5155
    error_call_init_proc ();
5156
    error_report (EE [136].error, ET_00040, NIL (GenericP));
5157
    UNREACHED;
5158
}
5159
void
5160
E_cannot_open_output_file PROTO_N ((file_name))
5161
                          PROTO_T (CStringP file_name)
5162
{
5163
    struct ES_00032 closure; 
5164
 
5165
    closure.file_name = file_name;
5166
    error_call_init_proc ();
5167
    error_report (EE [137].error, ET_00033, (GenericP) &closure);
5168
    UNREACHED;
5169
}
5170
void
5171
E_cannot_open_input_file PROTO_N ((file_name))
5172
                         PROTO_T (CStringP file_name)
5173
{
5174
    struct ES_00032 closure; 
5175
 
5176
    closure.file_name = file_name;
5177
    error_call_init_proc ();
5178
    error_report (EE [138].error, ET_00033, (GenericP) &closure);
5179
    UNREACHED;
5180
}
5181
void
5182
E_no_memory PROTO_Z ()
5183
{
5184
    error_call_init_proc ();
5185
    error_report (EE [139].error, ET_00040, NIL (GenericP));
5186
    UNREACHED;
5187
}
5188
void
5189
E_read_error PROTO_N ((file_name))
5190
             PROTO_T (CStringP file_name)
5191
{
5192
    struct ES_00032 closure; 
5193
 
5194
    closure.file_name = file_name;
5195
    error_call_init_proc ();
5196
    error_report (EE [140].error, ET_00033, (GenericP) &closure);
5197
    UNREACHED;
5198
}
5199
void
5200
E_write_error PROTO_N ((file_name))
5201
              PROTO_T (CStringP file_name)
5202
{
5203
    struct ES_00032 closure; 
5204
 
5205
    closure.file_name = file_name;
5206
    error_call_init_proc ();
5207
    error_report (EE [141].error, ET_00033, (GenericP) &closure);
5208
    UNREACHED;
5209
}
5210
void
5211
E_expected_basic PROTO_N ((class_name))
5212
                 PROTO_T (CStringP class_name)
5213
{
5214
    struct ES_00009 closure; 
5215
 
5216
	    closure.file_name = lexer_stream_name (sid_current_stream);
5217
	    closure.line_number = lexer_stream_line (sid_current_stream);
5218
    closure.class_name = class_name;
5219
    error_call_init_proc ();
5220
    error_report (EE [142].error, ET_00010, (GenericP) &closure);
5221
    UNREACHED;
5222
}
5223
void
5224
E_expected_non_terminal PROTO_N ((class_name))
5225
                        PROTO_T (CStringP class_name)
5226
{
5227
    struct ES_00009 closure; 
5228
 
5229
	    closure.file_name = lexer_stream_name (sid_current_stream);
5230
	    closure.line_number = lexer_stream_line (sid_current_stream);
5231
    closure.class_name = class_name;
5232
    error_call_init_proc ();
5233
    error_report (EE [143].error, ET_00010, (GenericP) &closure);
5234
    UNREACHED;
5235
}
5236
void
5237
E_duplicate_action PROTO_N ((identifier_name))
5238
                   PROTO_T (NStringP identifier_name)
5239
{
5240
    struct ES_00011 closure; 
5241
 
5242
	    closure.file_name = lexer_stream_name (sid_current_stream);
5243
	    closure.line_number = lexer_stream_line (sid_current_stream);
5244
    closure.identifier_name = identifier_name;
5245
    error_call_init_proc ();
5246
    error_report (EE [144].error, ET_00012, (GenericP) &closure);
5247
}
5248
void
5249
E_duplicate_basic PROTO_N ((identifier_name))
5250
                  PROTO_T (NStringP identifier_name)
5251
{
5252
    struct ES_00011 closure; 
5253
 
5254
	    closure.file_name = lexer_stream_name (sid_current_stream);
5255
	    closure.line_number = lexer_stream_line (sid_current_stream);
5256
    closure.identifier_name = identifier_name;
5257
    error_call_init_proc ();
5258
    error_report (EE [145].error, ET_00012, (GenericP) &closure);
5259
}
5260
void
5261
E_duplicate_rule PROTO_N ((identifier_name))
5262
                 PROTO_T (NStringP identifier_name)
5263
{
5264
    struct ES_00011 closure; 
5265
 
5266
	    closure.file_name = lexer_stream_name (sid_current_stream);
5267
	    closure.line_number = lexer_stream_line (sid_current_stream);
5268
    closure.identifier_name = identifier_name;
5269
    error_call_init_proc ();
5270
    error_report (EE [146].error, ET_00012, (GenericP) &closure);
5271
}
5272
void
5273
E_duplicate_type PROTO_N ((identifier_name))
5274
                 PROTO_T (NStringP identifier_name)
5275
{
5276
    struct ES_00011 closure; 
5277
 
5278
	    closure.file_name = lexer_stream_name (sid_current_stream);
5279
	    closure.line_number = lexer_stream_line (sid_current_stream);
5280
    closure.identifier_name = identifier_name;
5281
    error_call_init_proc ();
5282
    error_report (EE [147].error, ET_00012, (GenericP) &closure);
5283
}
5284
void
5285
E_duplicate_non_local PROTO_N ((identifier_name))
5286
                      PROTO_T (NStringP identifier_name)
5287
{
5288
    struct ES_00011 closure; 
5289
 
5290
	    closure.file_name = lexer_stream_name (sid_current_stream);
5291
	    closure.line_number = lexer_stream_line (sid_current_stream);
5292
    closure.identifier_name = identifier_name;
5293
    error_call_init_proc ();
5294
    error_report (EE [148].error, ET_00012, (GenericP) &closure);
5295
}
5296
void
5297
E_unknown_action PROTO_N ((action_name))
5298
                 PROTO_T (NStringP action_name)
5299
{
5300
    struct ES_00017 closure; 
5301
 
5302
	    closure.file_name = lexer_stream_name (sid_current_stream);
5303
	    closure.line_number = lexer_stream_line (sid_current_stream);
5304
    closure.action_name = action_name;
5305
    error_call_init_proc ();
5306
    error_report (EE [149].error, ET_00018, (GenericP) &closure);
5307
}
5308
void
5309
E_unknown_rule PROTO_N ((rule_name))
5310
               PROTO_T (NStringP rule_name)
5311
{
5312
    struct ES_00046 closure; 
5313
 
5314
	    closure.file_name = lexer_stream_name (sid_current_stream);
5315
	    closure.line_number = lexer_stream_line (sid_current_stream);
5316
    closure.rule_name = rule_name;
5317
    error_call_init_proc ();
5318
    error_report (EE [150].error, ET_00048, (GenericP) &closure);
5319
}
5320
void
5321
E_unknown_type PROTO_N ((type_name))
5322
               PROTO_T (NStringP type_name)
5323
{
5324
    struct ES_00012 closure; 
5325
 
5326
	    closure.file_name = lexer_stream_name (sid_current_stream);
5327
	    closure.line_number = lexer_stream_line (sid_current_stream);
5328
    closure.type_name = type_name;
5329
    error_call_init_proc ();
5330
    error_report (EE [151].error, ET_00013, (GenericP) &closure);
5331
}
5332
void
5333
E_unknown_rule_or_basic PROTO_N ((identifier_name))
5334
                        PROTO_T (NStringP identifier_name)
5335
{
5336
    struct ES_00011 closure; 
5337
 
5338
	    closure.file_name = lexer_stream_name (sid_current_stream);
5339
	    closure.line_number = lexer_stream_line (sid_current_stream);
5340
    closure.identifier_name = identifier_name;
5341
    error_call_init_proc ();
5342
    error_report (EE [152].error, ET_00012, (GenericP) &closure);
5343
}
5344
void
5345
E_identity_mismatch PROTO_N ((correct_type, erroneous_type))
5346
                    PROTO_T (TypeTupleP correct_type X
5347
                             TypeTupleP erroneous_type)
5348
{
5349
    struct ES_00047 closure; 
5350
 
5351
	    closure.file_name = lexer_stream_name (sid_current_stream);
5352
	    closure.line_number = lexer_stream_line (sid_current_stream);
5353
    closure.correct_type = correct_type;
5354
    closure.erroneous_type = erroneous_type;
5355
    error_call_init_proc ();
5356
    error_report (EE [153].error, ET_00049, (GenericP) &closure);
5357
}
5358
void
5359
E_initialiser_result_mismatch PROTO_N ((name_name, correct_type, erroneous_type))
5360
                              PROTO_T (KeyP name_name X
5361
                                       TypeTupleP correct_type X
5362
                                       TypeTupleP erroneous_type)
5363
{
5364
    struct ES_00048 closure; 
5365
 
5366
	    closure.file_name = lexer_stream_name (sid_current_stream);
5367
	    closure.line_number = lexer_stream_line (sid_current_stream);
5368
    closure.name_name = name_name;
5369
    closure.correct_type = correct_type;
5370
    closure.erroneous_type = erroneous_type;
5371
    error_call_init_proc ();
5372
    error_report (EE [154].error, ET_00050, (GenericP) &closure);
5373
}
5374
void
5375
E_action_result_call_mismatch PROTO_N ((action_name, correct_type, erroneous_type))
5376
                              PROTO_T (KeyP action_name X
5377
                                       TypeTupleP correct_type X
5378
                                       TypeTupleP erroneous_type)
5379
{
5380
    struct ES_00019 closure; 
5381
 
5382
	    closure.file_name = lexer_stream_name (sid_current_stream);
5383
	    closure.line_number = lexer_stream_line (sid_current_stream);
5384
    closure.action_name = action_name;
5385
    closure.correct_type = correct_type;
5386
    closure.erroneous_type = erroneous_type;
5387
    error_call_init_proc ();
5388
    error_report (EE [155].error, ET_00020, (GenericP) &closure);
5389
}
5390
void
5391
E_basic_result_call_mismatch PROTO_N ((terminal_name, correct_type, erroneous_type))
5392
                             PROTO_T (KeyP terminal_name X
5393
                                      TypeTupleP correct_type X
5394
                                      TypeTupleP erroneous_type)
5395
{
5396
    struct ES_00026 closure; 
5397
 
5398
	    closure.file_name = lexer_stream_name (sid_current_stream);
5399
	    closure.line_number = lexer_stream_line (sid_current_stream);
5400
    closure.terminal_name = terminal_name;
5401
    closure.correct_type = correct_type;
5402
    closure.erroneous_type = erroneous_type;
5403
    error_call_init_proc ();
5404
    error_report (EE [156].error, ET_00027, (GenericP) &closure);
5405
}
5406
void
5407
E_rule_result_call_mismatch PROTO_N ((rule_name, correct_type, erroneous_type))
5408
                            PROTO_T (KeyP rule_name X
5409
                                     TypeTupleP correct_type X
5410
                                     TypeTupleP erroneous_type)
5411
{
5412
    struct ES_00049 closure; 
5413
 
5414
	    closure.file_name = lexer_stream_name (sid_current_stream);
5415
	    closure.line_number = lexer_stream_line (sid_current_stream);
5416
    closure.rule_name = rule_name;
5417
    closure.correct_type = correct_type;
5418
    closure.erroneous_type = erroneous_type;
5419
    error_call_init_proc ();
5420
    error_report (EE [157].error, ET_00051, (GenericP) &closure);
5421
}
5422
void
5423
E_initialiser_param_mismatch PROTO_N ((name_name, correct_type, correct_ref_type, erroneous_type))
5424
                             PROTO_T (KeyP name_name X
5425
                                      TypeTupleP correct_type X
5426
                                      TypeTupleP correct_ref_type X
5427
                                      TypeTupleP erroneous_type)
5428
{
5429
    struct ES_00050 closure; 
5430
 
5431
	    closure.file_name = lexer_stream_name (sid_current_stream);
5432
	    closure.line_number = lexer_stream_line (sid_current_stream);
5433
    closure.name_name = name_name;
5434
    closure.correct_type = correct_type;
5435
    closure.correct_ref_type = correct_ref_type;
5436
    closure.erroneous_type = erroneous_type;
5437
    error_call_init_proc ();
5438
    error_report (EE [158].error, ET_00052, (GenericP) &closure);
5439
}
5440
void
5441
E_action_param_call_mismatch PROTO_N ((action_name, correct_type, erroneous_type))
5442
                             PROTO_T (KeyP action_name X
5443
                                      TypeTupleP correct_type X
5444
                                      TypeTupleP erroneous_type)
5445
{
5446
    struct ES_00019 closure; 
5447
 
5448
	    closure.file_name = lexer_stream_name (sid_current_stream);
5449
	    closure.line_number = lexer_stream_line (sid_current_stream);
5450
    closure.action_name = action_name;
5451
    closure.correct_type = correct_type;
5452
    closure.erroneous_type = erroneous_type;
5453
    error_call_init_proc ();
5454
    error_report (EE [159].error, ET_00020, (GenericP) &closure);
5455
}
5456
void
5457
E_basic_param_call_mismatch PROTO_N ((terminal_name, erroneous_type))
5458
                            PROTO_T (KeyP terminal_name X
5459
                                     TypeTupleP erroneous_type)
5460
{
5461
    struct ES_00024 closure; 
5462
 
5463
	    closure.file_name = lexer_stream_name (sid_current_stream);
5464
	    closure.line_number = lexer_stream_line (sid_current_stream);
5465
    closure.terminal_name = terminal_name;
5466
    closure.erroneous_type = erroneous_type;
5467
    error_call_init_proc ();
5468
    error_report (EE [160].error, ET_00025, (GenericP) &closure);
5469
}
5470
void
5471
E_basic_param_mismatch PROTO_N ((terminal_name, erroneous_type))
5472
                       PROTO_T (KeyP terminal_name X
5473
                                TypeTupleP erroneous_type)
5474
{
5475
    struct ES_00024 closure; 
5476
 
5477
	    closure.file_name = lexer_stream_name (sid_current_stream);
5478
	    closure.line_number = lexer_stream_line (sid_current_stream);
5479
    closure.terminal_name = terminal_name;
5480
    closure.erroneous_type = erroneous_type;
5481
    error_call_init_proc ();
5482
    error_report (EE [161].error, ET_00025, (GenericP) &closure);
5483
}
5484
void
5485
E_rule_param_call_mismatch PROTO_N ((rule_name, correct_type, erroneous_type))
5486
                           PROTO_T (KeyP rule_name X
5487
                                    TypeTupleP correct_type X
5488
                                    TypeTupleP erroneous_type)
5489
{
5490
    struct ES_00049 closure; 
5491
 
5492
	    closure.file_name = lexer_stream_name (sid_current_stream);
5493
	    closure.line_number = lexer_stream_line (sid_current_stream);
5494
    closure.rule_name = rule_name;
5495
    closure.correct_type = correct_type;
5496
    closure.erroneous_type = erroneous_type;
5497
    error_call_init_proc ();
5498
    error_report (EE [162].error, ET_00051, (GenericP) &closure);
5499
}
5500
void
5501
E_rule_param_mismatch PROTO_N ((rule_name, correct_type, erroneous_type))
5502
                      PROTO_T (KeyP rule_name X
5503
                               TypeTupleP correct_type X
5504
                               TypeTupleP erroneous_type)
5505
{
5506
    struct ES_00049 closure; 
5507
 
5508
	    closure.file_name = lexer_stream_name (sid_current_stream);
5509
	    closure.line_number = lexer_stream_line (sid_current_stream);
5510
    closure.rule_name = rule_name;
5511
    closure.correct_type = correct_type;
5512
    closure.erroneous_type = erroneous_type;
5513
    error_call_init_proc ();
5514
    error_report (EE [163].error, ET_00051, (GenericP) &closure);
5515
}
5516
void
5517
E_rule_result_mismatch PROTO_N ((rule_name, correct_type, erroneous_type))
5518
                       PROTO_T (KeyP rule_name X
5519
                                TypeTupleP correct_type X
5520
                                TypeTupleP erroneous_type)
5521
{
5522
    struct ES_00049 closure; 
5523
 
5524
	    closure.file_name = lexer_stream_name (sid_current_stream);
5525
	    closure.line_number = lexer_stream_line (sid_current_stream);
5526
    closure.rule_name = rule_name;
5527
    closure.correct_type = correct_type;
5528
    closure.erroneous_type = erroneous_type;
5529
    error_call_init_proc ();
5530
    error_report (EE [164].error, ET_00051, (GenericP) &closure);
5531
}
5532
void
5533
E_action_param_mismatch PROTO_N ((action_name, correct_type, erroneous_type))
5534
                        PROTO_T (KeyP action_name X
5535
                                 TypeTupleP correct_type X
5536
                                 TypeTupleP erroneous_type)
5537
{
5538
    struct ES_00019 closure; 
5539
 
5540
	    closure.file_name = lexer_stream_name (sid_current_stream);
5541
	    closure.line_number = lexer_stream_line (sid_current_stream);
5542
    closure.action_name = action_name;
5543
    closure.correct_type = correct_type;
5544
    closure.erroneous_type = erroneous_type;
5545
    error_call_init_proc ();
5546
    error_report (EE [165].error, ET_00020, (GenericP) &closure);
5547
}
5548
void
5549
E_action_result_mismatch PROTO_N ((action_name, correct_type, erroneous_type))
5550
                         PROTO_T (KeyP action_name X
5551
                                  TypeTupleP correct_type X
5552
                                  TypeTupleP erroneous_type)
5553
{
5554
    struct ES_00019 closure; 
5555
 
5556
	    closure.file_name = lexer_stream_name (sid_current_stream);
5557
	    closure.line_number = lexer_stream_line (sid_current_stream);
5558
    closure.action_name = action_name;
5559
    closure.correct_type = correct_type;
5560
    closure.erroneous_type = erroneous_type;
5561
    error_call_init_proc ();
5562
    error_report (EE [166].error, ET_00020, (GenericP) &closure);
5563
}
5564
void
5565
E_alt_result_mismatch PROTO_N ((rule_name, alternative))
5566
                      PROTO_T (KeyP rule_name X
5567
                               unsigned alternative)
5568
{
5569
    struct ES_00051 closure; 
5570
 
5571
	    closure.file_name = lexer_stream_name (sid_current_stream);
5572
	    closure.line_number = lexer_stream_line (sid_current_stream);
5573
    closure.rule_name = rule_name;
5574
    closure.alternative = alternative;
5575
    error_call_init_proc ();
5576
    error_report (EE [167].error, ET_00053, (GenericP) &closure);
5577
}
5578
void
5579
E_handler_result_mismatch PROTO_N ((rule_name))
5580
                          PROTO_T (KeyP rule_name)
5581
{
5582
    struct ES_00052 closure; 
5583
 
5584
	    closure.file_name = lexer_stream_name (sid_current_stream);
5585
	    closure.line_number = lexer_stream_line (sid_current_stream);
5586
    closure.rule_name = rule_name;
5587
    error_call_init_proc ();
5588
    error_report (EE [168].error, ET_00054, (GenericP) &closure);
5589
}
5590
void
5591
E_multi_predicate_return PROTO_Z ()
5592
{
5593
    struct ES_00006 closure; 
5594
 
5595
	    closure.file_name = lexer_stream_name (sid_current_stream);
5596
	    closure.line_number = lexer_stream_line (sid_current_stream);
5597
    error_call_init_proc ();
5598
    error_report (EE [169].error, ET_00006, (GenericP) &closure);
5599
}
5600
void
5601
E_predicate_type PROTO_N ((correct_type, erroneous_type))
5602
                 PROTO_T (EntryP correct_type X
5603
                          EntryP erroneous_type)
5604
{
5605
    struct ES_00053 closure; 
5606
 
5607
	    closure.file_name = lexer_stream_name (sid_current_stream);
5608
	    closure.line_number = lexer_stream_line (sid_current_stream);
5609
    closure.correct_type = correct_type;
5610
    closure.erroneous_type = erroneous_type;
5611
    error_call_init_proc ();
5612
    error_report (EE [170].error, ET_00055, (GenericP) &closure);
5613
}
5614
void
5615
E_predicate PROTO_Z ()
5616
{
5617
    struct ES_00006 closure; 
5618
 
5619
	    closure.file_name = lexer_stream_name (sid_current_stream);
5620
	    closure.line_number = lexer_stream_line (sid_current_stream);
5621
    error_call_init_proc ();
5622
    error_report (EE [171].error, ET_00006, (GenericP) &closure);
5623
}
5624
void
5625
E_undefined_assignment PROTO_N ((name_name))
5626
                       PROTO_T (NStringP name_name)
5627
{
5628
    struct ES_00054 closure; 
5629
 
5630
	    closure.file_name = lexer_stream_name (sid_current_stream);
5631
	    closure.line_number = lexer_stream_line (sid_current_stream);
5632
    closure.name_name = name_name;
5633
    error_call_init_proc ();
5634
    error_report (EE [172].error, ET_00056, (GenericP) &closure);
5635
}
5636
void
5637
E_rule_already_defined PROTO_N ((rule_name))
5638
                       PROTO_T (KeyP rule_name)
5639
{
5640
    struct ES_00052 closure; 
5641
 
5642
	    closure.file_name = lexer_stream_name (sid_current_stream);
5643
	    closure.line_number = lexer_stream_line (sid_current_stream);
5644
    closure.rule_name = rule_name;
5645
    error_call_init_proc ();
5646
    error_report (EE [173].error, ET_00054, (GenericP) &closure);
5647
}
5648
void
5649
E_rule_formal_clash PROTO_N ((rule_name, parameter_type, result_type))
5650
                    PROTO_T (KeyP rule_name X
5651
                             TypeTupleP parameter_type X
5652
                             TypeTupleP result_type)
5653
{
5654
    struct ES_00055 closure; 
5655
 
5656
	    closure.file_name = lexer_stream_name (sid_current_stream);
5657
	    closure.line_number = lexer_stream_line (sid_current_stream);
5658
    closure.rule_name = rule_name;
5659
    closure.parameter_type = parameter_type;
5660
    closure.result_type = result_type;
5661
    error_call_init_proc ();
5662
    error_report (EE [174].error, ET_00057, (GenericP) &closure);
5663
}
5664
void
5665
E_rule_param_clash PROTO_N ((rule_name, parameter_type))
5666
                   PROTO_T (KeyP rule_name X
5667
                            TypeTupleP parameter_type)
5668
{
5669
    struct ES_00056 closure; 
5670
 
5671
	    closure.file_name = lexer_stream_name (sid_current_stream);
5672
	    closure.line_number = lexer_stream_line (sid_current_stream);
5673
    closure.rule_name = rule_name;
5674
    closure.parameter_type = parameter_type;
5675
    error_call_init_proc ();
5676
    error_report (EE [175].error, ET_00058, (GenericP) &closure);
5677
}
5678
void
5679
E_rule_result_clash PROTO_N ((rule_name, result_type))
5680
                    PROTO_T (KeyP rule_name X
5681
                             TypeTupleP result_type)
5682
{
5683
    struct ES_00057 closure; 
5684
 
5685
	    closure.file_name = lexer_stream_name (sid_current_stream);
5686
	    closure.line_number = lexer_stream_line (sid_current_stream);
5687
    closure.rule_name = rule_name;
5688
    closure.result_type = result_type;
5689
    error_call_init_proc ();
5690
    error_report (EE [176].error, ET_00059, (GenericP) &closure);
5691
}
5692
void
5693
E_identity_result_clash PROTO_N ((result_type))
5694
                        PROTO_T (TypeTupleP result_type)
5695
{
5696
    struct ES_00058 closure; 
5697
 
5698
	    closure.file_name = lexer_stream_name (sid_current_stream);
5699
	    closure.line_number = lexer_stream_line (sid_current_stream);
5700
    closure.result_type = result_type;
5701
    error_call_init_proc ();
5702
    error_report (EE [177].error, ET_00060, (GenericP) &closure);
5703
}
5704
void
5705
E_action_result_call_clash PROTO_N ((action_name, result_type))
5706
                           PROTO_T (KeyP action_name X
5707
                                    TypeTupleP result_type)
5708
{
5709
    struct ES_00020 closure; 
5710
 
5711
	    closure.file_name = lexer_stream_name (sid_current_stream);
5712
	    closure.line_number = lexer_stream_line (sid_current_stream);
5713
    closure.action_name = action_name;
5714
    closure.result_type = result_type;
5715
    error_call_init_proc ();
5716
    error_report (EE [178].error, ET_00021, (GenericP) &closure);
5717
}
5718
void
5719
E_basic_result_call_clash PROTO_N ((terminal_name, result_type))
5720
                          PROTO_T (KeyP terminal_name X
5721
                                   TypeTupleP result_type)
5722
{
5723
    struct ES_00025 closure; 
5724
 
5725
	    closure.file_name = lexer_stream_name (sid_current_stream);
5726
	    closure.line_number = lexer_stream_line (sid_current_stream);
5727
    closure.terminal_name = terminal_name;
5728
    closure.result_type = result_type;
5729
    error_call_init_proc ();
5730
    error_report (EE [179].error, ET_00026, (GenericP) &closure);
5731
}
5732
void
5733
E_rule_result_call_clash PROTO_N ((rule_name, result_type))
5734
                         PROTO_T (KeyP rule_name X
5735
                                  TypeTupleP result_type)
5736
{
5737
    struct ES_00057 closure; 
5738
 
5739
	    closure.file_name = lexer_stream_name (sid_current_stream);
5740
	    closure.line_number = lexer_stream_line (sid_current_stream);
5741
    closure.rule_name = rule_name;
5742
    closure.result_type = result_type;
5743
    error_call_init_proc ();
5744
    error_report (EE [180].error, ET_00059, (GenericP) &closure);
5745
}
5746
void
5747
E_undefined_name PROTO_N ((identifier_name, rule_name, alternative))
5748
                 PROTO_T (KeyP identifier_name X
5749
                          KeyP rule_name X
5750
                          unsigned alternative)
5751
{
5752
    struct ES_00059 closure; 
5753
 
5754
	    closure.file_name = lexer_stream_name (sid_current_stream);
5755
	    closure.line_number = lexer_stream_line (sid_current_stream);
5756
    closure.identifier_name = identifier_name;
5757
    closure.rule_name = rule_name;
5758
    closure.alternative = alternative;
5759
    error_call_init_proc ();
5760
    error_report (EE [181].error, ET_00061, (GenericP) &closure);
5761
}
5762
void
5763
E_redefined_name PROTO_N ((identifier_name, rule_name, alternative))
5764
                 PROTO_T (KeyP identifier_name X
5765
                          KeyP rule_name X
5766
                          unsigned alternative)
5767
{
5768
    struct ES_00059 closure; 
5769
 
5770
	    closure.file_name = lexer_stream_name (sid_current_stream);
5771
	    closure.line_number = lexer_stream_line (sid_current_stream);
5772
    closure.identifier_name = identifier_name;
5773
    closure.rule_name = rule_name;
5774
    closure.alternative = alternative;
5775
    error_call_init_proc ();
5776
    error_report (EE [182].error, ET_00061, (GenericP) &closure);
5777
}
5778
void
5779
E_multiple_empty_alts PROTO_N ((rule_name))
5780
                      PROTO_T (KeyP rule_name)
5781
{
5782
    struct ES_00052 closure; 
5783
 
5784
	    closure.file_name = lexer_stream_name (sid_current_stream);
5785
	    closure.line_number = lexer_stream_line (sid_current_stream);
5786
    closure.rule_name = rule_name;
5787
    error_call_init_proc ();
5788
    error_report (EE [183].error, ET_00054, (GenericP) &closure);
5789
}
5790
void
5791
E_too_many_alternatives PROTO_Z ()
5792
{
5793
    struct ES_00006 closure; 
5794
 
5795
	    closure.file_name = lexer_stream_name (sid_current_stream);
5796
	    closure.line_number = lexer_stream_line (sid_current_stream);
5797
    error_call_init_proc ();
5798
    error_report (EE [184].error, ET_00006, (GenericP) &closure);
5799
    UNREACHED;
5800
}
5801
void
5802
E_mult_entry PROTO_N ((rule_name))
5803
             PROTO_T (KeyP rule_name)
5804
{
5805
    struct ES_00052 closure; 
5806
 
5807
	    closure.file_name = lexer_stream_name (sid_current_stream);
5808
	    closure.line_number = lexer_stream_line (sid_current_stream);
5809
    closure.rule_name = rule_name;
5810
    error_call_init_proc ();
5811
    error_report (EE [185].error, ET_00054, (GenericP) &closure);
5812
}
5813
void
5814
E_rule_param_has_names PROTO_N ((rule_name, parameter_type))
5815
                       PROTO_T (KeyP rule_name X
5816
                                TypeTupleP parameter_type)
5817
{
5818
    struct ES_00056 closure; 
5819
 
5820
	    closure.file_name = lexer_stream_name (sid_current_stream);
5821
	    closure.line_number = lexer_stream_line (sid_current_stream);
5822
    closure.rule_name = rule_name;
5823
    closure.parameter_type = parameter_type;
5824
    error_call_init_proc ();
5825
    error_report (EE [186].error, ET_00058, (GenericP) &closure);
5826
}
5827
void
5828
E_rule_result_has_names PROTO_N ((rule_name, result_type))
5829
                        PROTO_T (KeyP rule_name X
5830
                                 TypeTupleP result_type)
5831
{
5832
    struct ES_00057 closure; 
5833
 
5834
	    closure.file_name = lexer_stream_name (sid_current_stream);
5835
	    closure.line_number = lexer_stream_line (sid_current_stream);
5836
    closure.rule_name = rule_name;
5837
    closure.result_type = result_type;
5838
    error_call_init_proc ();
5839
    error_report (EE [187].error, ET_00059, (GenericP) &closure);
5840
}
5841
void
5842
E_rule_result_has_refs PROTO_N ((rule_name, result_type))
5843
                       PROTO_T (KeyP rule_name X
5844
                                TypeTupleP result_type)
5845
{
5846
    struct ES_00057 closure; 
5847
 
5848
	    closure.file_name = lexer_stream_name (sid_current_stream);
5849
	    closure.line_number = lexer_stream_line (sid_current_stream);
5850
    closure.rule_name = rule_name;
5851
    closure.result_type = result_type;
5852
    error_call_init_proc ();
5853
    error_report (EE [188].error, ET_00059, (GenericP) &closure);
5854
}
5855
void
5856
E_action_param_has_names PROTO_N ((action_name, parameter_type))
5857
                         PROTO_T (KeyP action_name X
5858
                                  TypeTupleP parameter_type)
5859
{
5860
    struct ES_00018 closure; 
5861
 
5862
	    closure.file_name = lexer_stream_name (sid_current_stream);
5863
	    closure.line_number = lexer_stream_line (sid_current_stream);
5864
    closure.action_name = action_name;
5865
    closure.parameter_type = parameter_type;
5866
    error_call_init_proc ();
5867
    error_report (EE [189].error, ET_00019, (GenericP) &closure);
5868
}
5869
void
5870
E_action_result_has_names PROTO_N ((action_name, result_type))
5871
                          PROTO_T (KeyP action_name X
5872
                                   TypeTupleP result_type)
5873
{
5874
    struct ES_00020 closure; 
5875
 
5876
	    closure.file_name = lexer_stream_name (sid_current_stream);
5877
	    closure.line_number = lexer_stream_line (sid_current_stream);
5878
    closure.action_name = action_name;
5879
    closure.result_type = result_type;
5880
    error_call_init_proc ();
5881
    error_report (EE [190].error, ET_00021, (GenericP) &closure);
5882
}
5883
void
5884
E_action_result_has_refs PROTO_N ((action_name, result_type))
5885
                         PROTO_T (KeyP action_name X
5886
                                  TypeTupleP result_type)
5887
{
5888
    struct ES_00020 closure; 
5889
 
5890
	    closure.file_name = lexer_stream_name (sid_current_stream);
5891
	    closure.line_number = lexer_stream_line (sid_current_stream);
5892
    closure.action_name = action_name;
5893
    closure.result_type = result_type;
5894
    error_call_init_proc ();
5895
    error_report (EE [191].error, ET_00021, (GenericP) &closure);
5896
}
5897
void
5898
E_basic_param_has_names PROTO_N ((terminal_name, parameter_type))
5899
                        PROTO_T (KeyP terminal_name X
5900
                                 TypeTupleP parameter_type)
5901
{
5902
    struct ES_00023 closure; 
5903
 
5904
	    closure.file_name = lexer_stream_name (sid_current_stream);
5905
	    closure.line_number = lexer_stream_line (sid_current_stream);
5906
    closure.terminal_name = terminal_name;
5907
    closure.parameter_type = parameter_type;
5908
    error_call_init_proc ();
5909
    error_report (EE [192].error, ET_00024, (GenericP) &closure);
5910
}
5911
void
5912
E_basic_result_has_names PROTO_N ((terminal_name, result_type))
5913
                         PROTO_T (KeyP terminal_name X
5914
                                  TypeTupleP result_type)
5915
{
5916
    struct ES_00025 closure; 
5917
 
5918
	    closure.file_name = lexer_stream_name (sid_current_stream);
5919
	    closure.line_number = lexer_stream_line (sid_current_stream);
5920
    closure.terminal_name = terminal_name;
5921
    closure.result_type = result_type;
5922
    error_call_init_proc ();
5923
    error_report (EE [193].error, ET_00026, (GenericP) &closure);
5924
}
5925
void
5926
E_basic_result_has_refs PROTO_N ((terminal_name, result_type))
5927
                        PROTO_T (KeyP terminal_name X
5928
                                 TypeTupleP result_type)
5929
{
5930
    struct ES_00025 closure; 
5931
 
5932
	    closure.file_name = lexer_stream_name (sid_current_stream);
5933
	    closure.line_number = lexer_stream_line (sid_current_stream);
5934
    closure.terminal_name = terminal_name;
5935
    closure.result_type = result_type;
5936
    error_call_init_proc ();
5937
    error_report (EE [194].error, ET_00026, (GenericP) &closure);
5938
}
5939
void
5940
E_identity_param_has_refs PROTO_N ((parameter_type, rule_name, alternative))
5941
                          PROTO_T (TypeTupleP parameter_type X
5942
                                   KeyP rule_name X
5943
                                   unsigned alternative)
5944
{
5945
    struct ES_00060 closure; 
5946
 
5947
	    closure.file_name = lexer_stream_name (sid_current_stream);
5948
	    closure.line_number = lexer_stream_line (sid_current_stream);
5949
    closure.parameter_type = parameter_type;
5950
    closure.rule_name = rule_name;
5951
    closure.alternative = alternative;
5952
    error_call_init_proc ();
5953
    error_report (EE [195].error, ET_00062, (GenericP) &closure);
5954
}
5955
void
5956
E_ignored_basic_call PROTO_N ((terminal_name))
5957
                     PROTO_T (NStringP terminal_name)
5958
{
5959
    struct ES_00022 closure; 
5960
 
5961
	    closure.file_name = lexer_stream_name (sid_current_stream);
5962
	    closure.line_number = lexer_stream_line (sid_current_stream);
5963
    closure.terminal_name = terminal_name;
5964
    error_call_init_proc ();
5965
    error_report (EE [196].error, ET_00023, (GenericP) &closure);
5966
}
5967
void
5968
E_ambiguous_call PROTO_N ((identifier_name))
5969
                 PROTO_T (NStringP identifier_name)
5970
{
5971
    struct ES_00011 closure; 
5972
 
5973
	    closure.file_name = lexer_stream_name (sid_current_stream);
5974
	    closure.line_number = lexer_stream_line (sid_current_stream);
5975
    closure.identifier_name = identifier_name;
5976
    error_call_init_proc ();
5977
    error_report (EE [197].error, ET_00012, (GenericP) &closure);
5978
}
5979
void
5980
E_global_scope_non_local PROTO_N ((name_name))
5981
                         PROTO_T (NStringP name_name)
5982
{
5983
    struct ES_00054 closure; 
5984
 
5985
	    closure.file_name = lexer_stream_name (sid_current_stream);
5986
	    closure.line_number = lexer_stream_line (sid_current_stream);
5987
    closure.name_name = name_name;
5988
    error_call_init_proc ();
5989
    error_report (EE [198].error, ET_00056, (GenericP) &closure);
5990
}
5991
void
5992
E_expected_typemark PROTO_Z ()
5993
{
5994
    struct ES_00006 closure; 
5995
 
5996
	    closure.file_name = lexer_stream_name (sid_current_stream);
5997
	    closure.line_number = lexer_stream_line (sid_current_stream);
5998
    error_call_init_proc ();
5999
    error_report (EE [199].error, ET_00006, (GenericP) &closure);
6000
}
6001
void
6002
E_expected_identifier PROTO_Z ()
6003
{
6004
    struct ES_00006 closure; 
6005
 
6006
	    closure.file_name = lexer_stream_name (sid_current_stream);
6007
	    closure.line_number = lexer_stream_line (sid_current_stream);
6008
    error_call_init_proc ();
6009
    error_report (EE [200].error, ET_00006, (GenericP) &closure);
6010
}
6011
void
6012
E_expected_tuple_defn PROTO_Z ()
6013
{
6014
    struct ES_00006 closure; 
6015
 
6016
	    closure.file_name = lexer_stream_name (sid_current_stream);
6017
	    closure.line_number = lexer_stream_line (sid_current_stream);
6018
    error_call_init_proc ();
6019
    error_report (EE [201].error, ET_00006, (GenericP) &closure);
6020
}
6021
void
6022
E_expected_terminal_decn PROTO_Z ()
6023
{
6024
    struct ES_00006 closure; 
6025
 
6026
	    closure.file_name = lexer_stream_name (sid_current_stream);
6027
	    closure.line_number = lexer_stream_line (sid_current_stream);
6028
    error_call_init_proc ();
6029
    error_report (EE [202].error, ET_00006, (GenericP) &closure);
6030
}
6031
void
6032
E_expected_separator PROTO_Z ()
6033
{
6034
    struct ES_00006 closure; 
6035
 
6036
	    closure.file_name = lexer_stream_name (sid_current_stream);
6037
	    closure.line_number = lexer_stream_line (sid_current_stream);
6038
    error_call_init_proc ();
6039
    error_report (EE [203].error, ET_00006, (GenericP) &closure);
6040
}
6041
void
6042
E_expected_open_tuple PROTO_Z ()
6043
{
6044
    struct ES_00006 closure; 
6045
 
6046
	    closure.file_name = lexer_stream_name (sid_current_stream);
6047
	    closure.line_number = lexer_stream_line (sid_current_stream);
6048
    error_call_init_proc ();
6049
    error_report (EE [204].error, ET_00006, (GenericP) &closure);
6050
}
6051
void
6052
E_expected_close_tuple PROTO_Z ()
6053
{
6054
    struct ES_00006 closure; 
6055
 
6056
	    closure.file_name = lexer_stream_name (sid_current_stream);
6057
	    closure.line_number = lexer_stream_line (sid_current_stream);
6058
    error_call_init_proc ();
6059
    error_report (EE [205].error, ET_00006, (GenericP) &closure);
6060
}
6061
void
6062
E_expected_arrow PROTO_Z ()
6063
{
6064
    struct ES_00006 closure; 
6065
 
6066
	    closure.file_name = lexer_stream_name (sid_current_stream);
6067
	    closure.line_number = lexer_stream_line (sid_current_stream);
6068
    error_call_init_proc ();
6069
    error_report (EE [206].error, ET_00006, (GenericP) &closure);
6070
}
6071
void
6072
E_expected_terminator PROTO_Z ()
6073
{
6074
    struct ES_00006 closure; 
6075
 
6076
	    closure.file_name = lexer_stream_name (sid_current_stream);
6077
	    closure.line_number = lexer_stream_line (sid_current_stream);
6078
    error_call_init_proc ();
6079
    error_report (EE [207].error, ET_00006, (GenericP) &closure);
6080
}
6081
void
6082
E_expected_lhs_name PROTO_Z ()
6083
{
6084
    struct ES_00006 closure; 
6085
 
6086
	    closure.file_name = lexer_stream_name (sid_current_stream);
6087
	    closure.line_number = lexer_stream_line (sid_current_stream);
6088
    error_call_init_proc ();
6089
    error_report (EE [208].error, ET_00006, (GenericP) &closure);
6090
}
6091
void
6092
E_expected_rhs_name PROTO_Z ()
6093
{
6094
    struct ES_00006 closure; 
6095
 
6096
	    closure.file_name = lexer_stream_name (sid_current_stream);
6097
	    closure.line_number = lexer_stream_line (sid_current_stream);
6098
    error_call_init_proc ();
6099
    error_report (EE [209].error, ET_00006, (GenericP) &closure);
6100
}
6101
void
6102
E_expected_begin_action PROTO_Z ()
6103
{
6104
    struct ES_00006 closure; 
6105
 
6106
	    closure.file_name = lexer_stream_name (sid_current_stream);
6107
	    closure.line_number = lexer_stream_line (sid_current_stream);
6108
    error_call_init_proc ();
6109
    error_report (EE [210].error, ET_00006, (GenericP) &closure);
6110
}
6111
void
6112
E_expected_end_action PROTO_Z ()
6113
{
6114
    struct ES_00006 closure; 
6115
 
6116
	    closure.file_name = lexer_stream_name (sid_current_stream);
6117
	    closure.line_number = lexer_stream_line (sid_current_stream);
6118
    error_call_init_proc ();
6119
    error_report (EE [211].error, ET_00006, (GenericP) &closure);
6120
}
6121
void
6122
E_expected_end_scope PROTO_Z ()
6123
{
6124
    struct ES_00006 closure; 
6125
 
6126
	    closure.file_name = lexer_stream_name (sid_current_stream);
6127
	    closure.line_number = lexer_stream_line (sid_current_stream);
6128
    error_call_init_proc ();
6129
    error_report (EE [212].error, ET_00006, (GenericP) &closure);
6130
}
6131
void
6132
E_expected_tuple_or_term PROTO_Z ()
6133
{
6134
    struct ES_00006 closure; 
6135
 
6136
	    closure.file_name = lexer_stream_name (sid_current_stream);
6137
	    closure.line_number = lexer_stream_line (sid_current_stream);
6138
    error_call_init_proc ();
6139
    error_report (EE [213].error, ET_00006, (GenericP) &closure);
6140
}
6141
void
6142
E_expected_item_rhs PROTO_Z ()
6143
{
6144
    struct ES_00006 closure; 
6145
 
6146
	    closure.file_name = lexer_stream_name (sid_current_stream);
6147
	    closure.line_number = lexer_stream_line (sid_current_stream);
6148
    error_call_init_proc ();
6149
    error_report (EE [214].error, ET_00006, (GenericP) &closure);
6150
}
6151
void
6152
E_expected_define PROTO_Z ()
6153
{
6154
    struct ES_00006 closure; 
6155
 
6156
	    closure.file_name = lexer_stream_name (sid_current_stream);
6157
	    closure.line_number = lexer_stream_line (sid_current_stream);
6158
    error_call_init_proc ();
6159
    error_report (EE [215].error, ET_00006, (GenericP) &closure);
6160
}
6161
void
6162
E_expected_tuple_def_or_term PROTO_Z ()
6163
{
6164
    struct ES_00006 closure; 
6165
 
6166
	    closure.file_name = lexer_stream_name (sid_current_stream);
6167
	    closure.line_number = lexer_stream_line (sid_current_stream);
6168
    error_call_init_proc ();
6169
    error_report (EE [216].error, ET_00006, (GenericP) &closure);
6170
}
6171
void
6172
E_expected_begin_rule PROTO_Z ()
6173
{
6174
    struct ES_00006 closure; 
6175
 
6176
	    closure.file_name = lexer_stream_name (sid_current_stream);
6177
	    closure.line_number = lexer_stream_line (sid_current_stream);
6178
    error_call_init_proc ();
6179
    error_report (EE [217].error, ET_00006, (GenericP) &closure);
6180
}
6181
void
6182
E_expected_end_rule PROTO_Z ()
6183
{
6184
    struct ES_00006 closure; 
6185
 
6186
	    closure.file_name = lexer_stream_name (sid_current_stream);
6187
	    closure.line_number = lexer_stream_line (sid_current_stream);
6188
    error_call_init_proc ();
6189
    error_report (EE [218].error, ET_00006, (GenericP) &closure);
6190
}
6191
void
6192
E_expected_item PROTO_Z ()
6193
{
6194
    struct ES_00006 closure; 
6195
 
6196
	    closure.file_name = lexer_stream_name (sid_current_stream);
6197
	    closure.line_number = lexer_stream_line (sid_current_stream);
6198
    error_call_init_proc ();
6199
    error_report (EE [219].error, ET_00006, (GenericP) &closure);
6200
}
6201
void
6202
E_expected_alternative PROTO_Z ()
6203
{
6204
    struct ES_00006 closure; 
6205
 
6206
	    closure.file_name = lexer_stream_name (sid_current_stream);
6207
	    closure.line_number = lexer_stream_line (sid_current_stream);
6208
    error_call_init_proc ();
6209
    error_report (EE [220].error, ET_00006, (GenericP) &closure);
6210
}
6211
void
6212
E_expected_other_defn PROTO_Z ()
6213
{
6214
    struct ES_00006 closure; 
6215
 
6216
	    closure.file_name = lexer_stream_name (sid_current_stream);
6217
	    closure.line_number = lexer_stream_line (sid_current_stream);
6218
    error_call_init_proc ();
6219
    error_report (EE [221].error, ET_00006, (GenericP) &closure);
6220
}
6221
void
6222
E_expected_production_defn PROTO_Z ()
6223
{
6224
    struct ES_00006 closure; 
6225
 
6226
	    closure.file_name = lexer_stream_name (sid_current_stream);
6227
	    closure.line_number = lexer_stream_line (sid_current_stream);
6228
    error_call_init_proc ();
6229
    error_report (EE [222].error, ET_00006, (GenericP) &closure);
6230
}
6231
void
6232
E_expected_blt_types PROTO_Z ()
6233
{
6234
    struct ES_00006 closure; 
6235
 
6236
	    closure.file_name = lexer_stream_name (sid_current_stream);
6237
	    closure.line_number = lexer_stream_line (sid_current_stream);
6238
    error_call_init_proc ();
6239
    error_report (EE [223].error, ET_00006, (GenericP) &closure);
6240
}
6241
void
6242
E_expected_blt_terminals PROTO_Z ()
6243
{
6244
    struct ES_00006 closure; 
6245
 
6246
	    closure.file_name = lexer_stream_name (sid_current_stream);
6247
	    closure.line_number = lexer_stream_line (sid_current_stream);
6248
    error_call_init_proc ();
6249
    error_report (EE [224].error, ET_00006, (GenericP) &closure);
6250
}
6251
void
6252
E_expected_blt_productions PROTO_Z ()
6253
{
6254
    struct ES_00006 closure; 
6255
 
6256
	    closure.file_name = lexer_stream_name (sid_current_stream);
6257
	    closure.line_number = lexer_stream_line (sid_current_stream);
6258
    error_call_init_proc ();
6259
    error_report (EE [225].error, ET_00006, (GenericP) &closure);
6260
}
6261
void
6262
E_expected_blt_entry PROTO_Z ()
6263
{
6264
    struct ES_00006 closure; 
6265
 
6266
	    closure.file_name = lexer_stream_name (sid_current_stream);
6267
	    closure.line_number = lexer_stream_line (sid_current_stream);
6268
    error_call_init_proc ();
6269
    error_report (EE [226].error, ET_00006, (GenericP) &closure);
6270
}
6271
void
6272
E_expected_eof PROTO_Z ()
6273
{
6274
    struct ES_00006 closure; 
6275
 
6276
	    closure.file_name = lexer_stream_name (sid_current_stream);
6277
	    closure.line_number = lexer_stream_line (sid_current_stream);
6278
    error_call_init_proc ();
6279
    error_report (EE [227].error, ET_00006, (GenericP) &closure);
6280
}
6281
void
6282
E_expected_terminator_or_define PROTO_Z ()
6283
{
6284
    struct ES_00006 closure; 
6285
 
6286
	    closure.file_name = lexer_stream_name (sid_current_stream);
6287
	    closure.line_number = lexer_stream_line (sid_current_stream);
6288
    error_call_init_proc ();
6289
    error_report (EE [228].error, ET_00006, (GenericP) &closure);
6290
}
6291
void
6292
E_first_set_collision PROTO_N ((rule_name, terminal_names))
6293
                      PROTO_T (RuleP rule_name X
6294
                               BasicClosureP terminal_names)
6295
{
6296
    struct ES_00061 closure; 
6297
 
6298
    closure.rule_name = rule_name;
6299
    closure.terminal_names = terminal_names;
6300
    error_call_init_proc ();
6301
    error_report (EE [229].error, ET_00063, (GenericP) &closure);
6302
}
6303
void
6304
E_predicate_collision PROTO_N ((rule_name, predicate_name))
6305
                      PROTO_T (RuleP rule_name X
6306
                               KeyP predicate_name)
6307
{
6308
    struct ES_00062 closure; 
6309
 
6310
    closure.rule_name = rule_name;
6311
    closure.predicate_name = predicate_name;
6312
    error_call_init_proc ();
6313
    error_report (EE [230].error, ET_00064, (GenericP) &closure);
6314
}
6315
void
6316
E_predicate_list_collision PROTO_N ((rule_name, predicate_names))
6317
                           PROTO_T (RuleP rule_name X
6318
                                    EntryListP predicate_names)
6319
{
6320
    struct ES_00063 closure; 
6321
 
6322
    closure.rule_name = rule_name;
6323
    closure.predicate_names = predicate_names;
6324
    error_call_init_proc ();
6325
    error_report (EE [231].error, ET_00065, (GenericP) &closure);
6326
}
6327
void
6328
E_follow_set_collision PROTO_N ((rule_name, terminal_names, clashes))
6329
                       PROTO_T (RuleP rule_name X
6330
                                BasicClosureP terminal_names X
6331
                                ClashListP clashes)
6332
{
6333
    struct ES_00064 closure; 
6334
 
6335
    closure.rule_name = rule_name;
6336
    closure.terminal_names = terminal_names;
6337
    closure.clashes = clashes;
6338
    error_call_init_proc ();
6339
    error_report (EE [232].error, ET_00066, (GenericP) &closure);
6340
}
6341
void
6342
E_predicate_follow_set_coll PROTO_N ((rule_name, predicate_names, clashes))
6343
                            PROTO_T (RuleP rule_name X
6344
                                     EntryListP predicate_names X
6345
                                     ClashListP clashes)
6346
{
6347
    struct ES_00065 closure; 
6348
 
6349
    closure.rule_name = rule_name;
6350
    closure.predicate_names = predicate_names;
6351
    closure.clashes = clashes;
6352
    error_call_init_proc ();
6353
    error_report (EE [233].error, ET_00067, (GenericP) &closure);
6354
}
6355
void
6356
E_multiple_see_through_alts PROTO_N ((rule_name))
6357
                            PROTO_T (RuleP rule_name)
6358
{
6359
    struct ES_00066 closure; 
6360
 
6361
    closure.rule_name = rule_name;
6362
    error_call_init_proc ();
6363
    error_report (EE [234].error, ET_00068, (GenericP) &closure);
6364
}
6365
void
6366
E_too_many_factorisations PROTO_N ((number_productions))
6367
                          PROTO_T (unsigned number_productions)
6368
{
6369
    struct ES_00067 closure; 
6370
 
6371
    closure.number_productions = number_productions;
6372
    error_call_init_proc ();
6373
    error_report (EE [235].error, ET_00069, (GenericP) &closure);
6374
    UNREACHED;
6375
}
6376
void
6377
E_factor_handler_mismatch PROTO_N ((inner_rule_name, outer_rule_name))
6378
                          PROTO_T (RuleP inner_rule_name X
6379
                                   RuleP outer_rule_name)
6380
{
6381
    struct ES_00068 closure; 
6382
 
6383
    closure.inner_rule_name = inner_rule_name;
6384
    closure.outer_rule_name = outer_rule_name;
6385
    error_call_init_proc ();
6386
    error_report (EE [236].error, ET_00070, (GenericP) &closure);
6387
}
6388
void
6389
E_factor_nl_entry PROTO_N ((inner_rule_name, outer_rule_name))
6390
                  PROTO_T (RuleP inner_rule_name X
6391
                           RuleP outer_rule_name)
6392
{
6393
    struct ES_00068 closure; 
6394
 
6395
    closure.inner_rule_name = inner_rule_name;
6396
    closure.outer_rule_name = outer_rule_name;
6397
    error_call_init_proc ();
6398
    error_report (EE [237].error, ET_00070, (GenericP) &closure);
6399
}
6400
void
6401
E_cannot_compute_first_set PROTO_N ((production))
6402
                           PROTO_T (RuleP production)
6403
{
6404
    struct ES_00069 closure; 
6405
 
6406
    closure.production = production;
6407
    error_call_init_proc ();
6408
    error_report (EE [238].error, ET_00071, (GenericP) &closure);
6409
}
6410
void
6411
E_see_to_predicate PROTO_N ((predicate, production))
6412
                   PROTO_T (KeyP predicate X
6413
                            RuleP production)
6414
{
6415
    struct ES_00070 closure; 
6416
 
6417
    closure.predicate = predicate;
6418
    closure.production = production;
6419
    error_call_init_proc ();
6420
    error_report (EE [239].error, ET_00072, (GenericP) &closure);
6421
}
6422
void
6423
E_see_to_rule_predicate PROTO_N ((inner_production, outer_production))
6424
                        PROTO_T (RuleP inner_production X
6425
                                 RuleP outer_production)
6426
{
6427
    struct ES_00071 closure; 
6428
 
6429
    closure.inner_production = inner_production;
6430
    closure.outer_production = outer_production;
6431
    error_call_init_proc ();
6432
    error_report (EE [240].error, ET_00073, (GenericP) &closure);
6433
}
6434
void
6435
E_redundant_see_through_alt PROTO_N ((production))
6436
                            PROTO_T (RuleP production)
6437
{
6438
    struct ES_00069 closure; 
6439
 
6440
    closure.production = production;
6441
    error_call_init_proc ();
6442
    error_report (EE [241].error, ET_00074, (GenericP) &closure);
6443
}
6444
void
6445
E_left_recursion_type_mismatch PROTO_N ((productions))
6446
                               PROTO_T (RuleP productions)
6447
{
6448
    struct ES_00072 closure; 
6449
 
6450
    closure.productions = productions;
6451
    error_call_init_proc ();
6452
    error_report (EE [242].error, ET_00075, (GenericP) &closure);
6453
}
6454
void
6455
E_left_rec_handler_mismatch PROTO_N ((productions))
6456
                            PROTO_T (RuleP productions)
6457
{
6458
    struct ES_00072 closure; 
6459
 
6460
    closure.productions = productions;
6461
    error_call_init_proc ();
6462
    error_report (EE [243].error, ET_00075, (GenericP) &closure);
6463
}
6464
void
6465
E_left_recursion_name_mismatch PROTO_N ((productions))
6466
                               PROTO_T (RuleP productions)
6467
{
6468
    struct ES_00072 closure; 
6469
 
6470
    closure.productions = productions;
6471
    error_call_init_proc ();
6472
    error_report (EE [244].error, ET_00075, (GenericP) &closure);
6473
}
6474
void
6475
E_out_of_scope_non_local PROTO_N ((using_production, out_of_scope_production, productions))
6476
                         PROTO_T (RuleP using_production X
6477
                                  RuleP out_of_scope_production X
6478
                                  RuleP productions)
6479
{
6480
    struct ES_00073 closure; 
6481
 
6482
    closure.using_production = using_production;
6483
    closure.out_of_scope_production = out_of_scope_production;
6484
    closure.productions = productions;
6485
    error_call_init_proc ();
6486
    error_report (EE [245].error, ET_00076, (GenericP) &closure);
6487
}
6488
void
6489
E_left_recursion_nl_entry PROTO_N ((production, productions))
6490
                          PROTO_T (RuleP production X
6491
                                   RuleP productions)
6492
{
6493
    struct ES_00074 closure; 
6494
 
6495
    closure.production = production;
6496
    closure.productions = productions;
6497
    error_call_init_proc ();
6498
    error_report (EE [246].error, ET_00077, (GenericP) &closure);
6499
}
6500
void
6501
E_cycle_no_terminator PROTO_N ((rule_names))
6502
                      PROTO_T (RuleP rule_names)
6503
{
6504
    struct ES_00075 closure; 
6505
 
6506
    closure.rule_names = rule_names;
6507
    error_call_init_proc ();
6508
    error_report (EE [247].error, ET_00078, (GenericP) &closure);
6509
}
6510
void
6511
E_shadows_non_local PROTO_N ((name_name, non_local_name_name, production))
6512
                    PROTO_T (KeyP name_name X
6513
                             KeyP non_local_name_name X
6514
                             RuleP production)
6515
{
6516
    struct ES_00076 closure; 
6517
 
6518
	    closure.file_name = lexer_stream_name (sid_current_stream);
6519
	    closure.line_number = lexer_stream_line (sid_current_stream);
6520
    closure.name_name = name_name;
6521
    closure.non_local_name_name = non_local_name_name;
6522
    closure.production = production;
6523
    error_call_init_proc ();
6524
    error_report (EE [248].error, ET_00079, (GenericP) &closure);
6525
}
6526
void
6527
E_shadows_global PROTO_N ((name_name, production))
6528
                 PROTO_T (KeyP name_name X
6529
                          RuleP production)
6530
{
6531
    struct ES_00077 closure; 
6532
 
6533
	    closure.file_name = lexer_stream_name (sid_current_stream);
6534
	    closure.line_number = lexer_stream_line (sid_current_stream);
6535
    closure.name_name = name_name;
6536
    closure.production = production;
6537
    error_call_init_proc ();
6538
    error_report (EE [249].error, ET_00080, (GenericP) &closure);
6539
}
6540
void
6541
E_too_many_generated_ids PROTO_Z ()
6542
{
6543
    error_call_init_proc ();
6544
    error_report (EE [250].error, ET_00040, NIL (GenericP));
6545
    UNREACHED;
6546
}
6547
void
6548
E_too_many_generated_names PROTO_Z ()
6549
{
6550
    error_call_init_proc ();
6551
    error_report (EE [251].error, ET_00040, NIL (GenericP));
6552
    UNREACHED;
6553
}
6554
 
6555
void
6556
gen_errors_init_errors PROTO_Z ()
6557
{
6558
    error_intern_tags (ET);
6559
    error_intern_errors (EE);
6560
}