-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgtbl.c
6292 lines (5740 loc) · 184 KB
/
gtbl.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* This file was automatically generated by pclu.*/
#include "pclu_err.h"
#include "pclu_sys.h"
/**** BEGIN CLUSTER g_tbl ****/
extern errcode arrayOPnew();
extern errcode intOPequal();
extern errcode arrayOPsize();
extern errcode dbg_infoOPactive();
extern errcode oneofOPis_1();
extern errcode g_tblOPfind_tbls_in_signature();
extern errcode oneofOPvalue_1();
extern errcode sequenceOPelements();
extern errcode recordOPget_1();
extern errcode oneofOPvalue_3();
extern errcode g_tblOPfind_tbls();
extern errcode g_tblOPtbl_uniq();
extern errcode g_tblOPg_field_tables();
extern errcode g_tblOPfind_tbl_decllist();
extern errcode g_tblOPfind_tbl_typelist();
extern errcode recordOPget_11();
extern errcode recordOPget_9();
extern errcode recordOPget_2();
extern errcode stmtOPget_abs();
extern errcode g_tblOPfind_tbl_exprs();
extern errcode recordOPget_3();
extern errcode g_tblOPfind_tbl_exprlist();
extern errcode recordOPget_4();
extern errcode sequenceOPfill();
extern errcode g_tblOPfind_tbl_decl();
extern errcode g_tblOPfind_tbl_type_();
extern errcode typespecOPget_abs();
extern errcode intOPgt();
extern errcode sequenceOPsize();
extern errcode arrayOPaddh();
extern errcode oneofOPmake_4();
extern errcode parmd_dus();
extern errcode g_tblOPfind_tbl_fieldspeclist();
extern errcode oneofOPmake_7();
extern errcode duOPget_common();
extern errcode compiler_logit();
extern errcode typespec_print();
extern errcode g_tblOPfind_tbl_field();
extern errcode exprOPget_abs();
extern errcode boolOPnot();
extern errcode g_tblOPbase_apply_test();
extern errcode parmd_op();
extern errcode oneofOPmake_6();
extern errcode g_tblOPbase_cluster_test();
extern errcode oneofOPis_7();
extern errcode oneofOPvalue_7();
extern errcode oneofOPmake_1();
extern errcode exprOPget_typespec();
extern errcode oneofOPmake_3();
extern errcode oneofOPmake_5();
extern errcode expr_print();
extern errcode arrayOPlow();
extern errcode intOPle();
extern errcode arrayOPfetch();
extern errcode intOPfrom_to();
extern errcode intOPadd();
extern errcode oneofOPvalue_5();
extern errcode pb_formals();
extern errcode pb_actuals();
extern errcode arrayOPelements();
extern errcode oneofOPis_3();
extern errcode oneofOPis_5();
extern errcode sequenceOPsimilar();
extern errcode stringOPequal();
extern errcode typespecOPsimilar();
extern errcode g_tblOPg_sel_extern();
extern errcode g_parm_extern();
extern errcode g_tblOPtest_pb();
extern errcode g_tblOPg_sel_table();
extern errcode g_parm_table();
extern errcode make_sel_name();
extern errcode stringOPconcat();
extern errcode own_defnOPtest();
extern errcode dbg_infoOPadd_own();
extern errcode g_envOPputl();
extern errcode s_name_typespec();
extern errcode g_envOPadd_extern();
extern errcode g_parm_table_inst_info();
extern errcode g_tblOPbuild_one_selector_table();
extern errcode g_own_build_one();
extern errcode g_parm_build_one();
extern errcode g_tblOPtest_pb_exprs_asst();
extern errcode g_tblOPtest_pb_fields_asst();
extern errcode pb_print();
extern errcode g_tblOPtest_pb_exprs_type_asst();
extern errcode idnOPget_kind();
extern errcode g_envOPputs();
extern errcode intOPunparse();
extern errcode g_ref_name_typespec();
extern errcode s_owns_prefix_fieldlist();
extern errcode fl_cont_op_parm();
extern errcode type_cont_op_parm();
extern errcode el_cont_op_parm();
extern struct REQS *sequence_of_t_reqs;
extern struct OPS *idn_ops;
extern OWN_req sequence_ownreqs;
extern struct OPS *sequence_ops;
struct OPS *sequence_of_idn_table;
struct OPS *sequence_of_idn_ops;
struct OPS *sequence_of_idn_ops;
OWNPTR sequence_of_idn_owns;
extern struct OPS *expr_ops;
struct OPS *sequence_of_expr_table;
struct OPS *sequence_of_expr_ops;
struct OPS *sequence_of_expr_ops;
OWNPTR sequence_of_expr_owns;
extern struct OPS *string_ops;
extern struct OPS *typespec_ops;
struct OPS *record_sel_type__ops;
extern struct OPS *record_sel_type__ops;
struct OPS *sequence_of_record_sel_type__table;
struct OPS *sequence_of_record_sel_type__ops;
struct OPS *sequence_of_record_sel_type__ops;
OWNPTR sequence_of_record_sel_type__owns;
CLUREF STR_find_137tbl_137type_137_072_040others;
CLUREF STR_;
CLUREF STR_find_137tbl_137exprs_072_040s_137cons_040not_040select;
CLUREF STR_type_137_072_040unhandled_040typespec;
CLUREF STR_type_137of_137;
CLUREF STR__137;
CLUREF STR__137ops;
CLUREF STR_struct_040OPS_040_040_052;
CLUREF STR__073;
CLUREF STR_extern_040struct_040OPS_040_052;
CLUREF STR_test_137pb_072_040others;
CLUREF STR_test_137pb_072_040force_072_040others;
CLUREF STR_test_137pb_137expr_137asst_072_040exprabs_040not_040type_137_040or_040constant;
CLUREF STR_array;
CLUREF STR_sequence;
CLUREF STR__137vec;
CLUREF STR__137cvt;
CLUREF STR_test_137pb_137fields_137asst_072_040unexpected_040typespec;
CLUREF STR_add_137selector_137info_050;
CLUREF STR__042;
CLUREF STR__042_054_040;
CLUREF STR__054_040;
CLUREF STR__137ops_051_073_040;
CLUREF STR_find_137selector_137ops_050_042;
CLUREF STR__054_040_046_050;
CLUREF STR__137ops_051_051_073;
static int g_tbl_own_init = 0;
OWN_req g_tbl_ownreqs = {0,0};
CLUREF g_tblOPcum_pbl;
errcode g_tbl_own_init_proc()
{
errcode err;
enter_own_init_proc();
if (g_tbl_own_init == 0) {
add_parm_info_type(0, idn_ops, sequence_of_t_reqs);
find_type_instance(sequence_ops, 1, &sequence_ownreqs, &(sequence_of_idn_ops));
add_parm_info_type(0, expr_ops, sequence_of_t_reqs);
find_type_instance(sequence_ops, 1, &sequence_ownreqs, &(sequence_of_expr_ops));
add_selector_info("sel", 0, string_ops);
add_selector_info("type_", 1, typespec_ops);
find_selector_ops("record", 2, &(record_sel_type__ops));
add_parm_info_type(0, record_sel_type__ops, sequence_of_t_reqs);
find_type_instance(sequence_ops, 1, &sequence_ownreqs, &(sequence_of_record_sel_type__ops));
stringOPcons("find_tbl_type_: others", CLU_1, CLU_22, &STR_find_137tbl_137type_137_072_040others);
stringOPcons("", CLU_1, CLU_0, &STR_);
stringOPcons("find_tbl_exprs: s_cons not select", CLU_1, CLU_33, &STR_find_137tbl_137exprs_072_040s_137cons_040not_040select);
stringOPcons("type_: unhandled typespec", CLU_1, CLU_25, &STR_type_137_072_040unhandled_040typespec);
stringOPcons("type_of_", CLU_1, CLU_8, &STR_type_137of_137);
stringOPcons("_", CLU_1, CLU_1, &STR__137);
stringOPcons("_ops", CLU_1, CLU_4, &STR__137ops);
stringOPcons("struct OPS *", CLU_1, CLU_13, &STR_struct_040OPS_040_040_052);
stringOPcons(";", CLU_1, CLU_1, &STR__073);
stringOPcons("extern struct OPS *", CLU_1, CLU_19, &STR_extern_040struct_040OPS_040_052);
stringOPcons("test_pb: others", CLU_1, CLU_15, &STR_test_137pb_072_040others);
stringOPcons("test_pb: force: others", CLU_1, CLU_22, &STR_test_137pb_072_040force_072_040others);
stringOPcons("test_pb_expr_asst: exprabs not type_ or constant", CLU_1, CLU_48, &STR_test_137pb_137expr_137asst_072_040exprabs_040not_040type_137_040or_040constant);
stringOPcons("array", CLU_1, CLU_5, &STR_array);
stringOPcons("sequence", CLU_1, CLU_8, &STR_sequence);
stringOPcons("_vec", CLU_1, CLU_4, &STR__137vec);
stringOPcons("_cvt", CLU_1, CLU_4, &STR__137cvt);
stringOPcons("test_pb_fields_asst: unexpected typespec", CLU_1, CLU_40, &STR_test_137pb_137fields_137asst_072_040unexpected_040typespec);
stringOPcons("add_selector_info(", CLU_1, CLU_18, &STR_add_137selector_137info_050);
stringOPcons("\"", CLU_1, CLU_1, &STR__042);
stringOPcons("\", ", CLU_1, CLU_3, &STR__042_054_040);
stringOPcons(", ", CLU_1, CLU_2, &STR__054_040);
stringOPcons("_ops); ", CLU_1, CLU_7, &STR__137ops_051_073_040);
stringOPcons("find_selector_ops(\"", CLU_1, CLU_19, &STR_find_137selector_137ops_050_042);
stringOPcons(", &(", CLU_1, CLU_4, &STR__054_040_046_050);
stringOPcons("_ops));", CLU_1, CLU_7, &STR__137ops_051_051_073);
g_tbl_own_init = 1;
{
{CLUREF T_0_1;
err = arrayOPnew(&T_0_1);
if (err != ERR_ok) goto ex_0;
g_tblOPcum_pbl.num = T_0_1.num;
}
}
{signal(ERR_ok);}
ex_0: pclu_unhandled(err); {signal(ERR_failure);}
}
}
/**** BEGIN PROCEDURE exist ****/
errcode g_tblOPexist(ret_1)
CLUREF *ret_1;
{
errcode err;
errcode ecode2;
if (g_tbl_own_init == 0) {
err = g_tbl_own_init_proc();
if (err != ERR_ok) goto ex_0;
}
enter_proc(13);
LINE(14);
{
CLUREF T_1_1;
CLUREF T_1_2;
T_1_1.num = g_tblOPcum_pbl.array->ext_size;
T_1_2.num = (T_1_1.num == 0)? true : false;
if (T_1_2.num == true) {
LINE(16);
{
{
ret_1->tf = false;
}
{signal (ERR_ok);}}
}
else {
LINE(18);
{
{
ret_1->tf = true;
}
{signal (ERR_ok);}}
}}/* end if */
goto end_0;
ex_0:
{
if (err == ERR_failure) {signal(ERR_failure);}
elist[0] = _pclu_erstr(err);
{signal(ERR_failure);}
}
end_0: elist[0].str = no_return_values_STRING;
{signal(ERR_failure);}
}
/**** END PROCEDURE exist ****/
/**** BEGIN PROCEDURE find_tables ****/
errcode g_tblOPfind_tables(e, bod, d)
CLUREF e;
CLUREF bod;
CLUREF d;
{
errcode err;
errcode ecode2;
CLUREF pbl;
CLUREF each_ap;
if (g_tbl_own_init == 0) {
err = g_tbl_own_init_proc();
if (err != ERR_ok) goto ex_0;
}
enter_proc(24);
LINE(25);
{
{CLUREF T_1_1;
err = arrayOPnew(&T_1_1);
if (err != ERR_ok) goto ex_0;
pbl.num = T_1_1.num;
}
}
LINE(26);
{
CLUREF T_1_1;
err = dbg_infoOPactive(&T_1_1);
if (err != ERR_ok) goto ex_0;
if (T_1_1.num == true) {
LINE(27);
{
CLUREF T_2_1;
if (d.cell->tag == 1) T_2_1.num = true; else T_2_1.num = false;
if (T_2_1.num == true) {
LINE(28);
{
CLUREF T_3_1;
if (d.cell->tag != 1) {err = ERR_wrong_tag; goto ex_0;}
T_3_1.num = d.cell->value;
err = g_tblOPfind_tbls_in_signature(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
}
else {
LINE(30);
{
CLUREF T_3_1;
CLUREF T_3_2;
CLUREF T_3_3;
CLUREF T_3_4;
CLUREF T_3_5;
if (d.cell->tag != 3) {err = ERR_wrong_tag; goto ex_0;}
T_3_1.num = d.cell->value;
T_3_2.num = T_3_1.vec->data[0];
T_3_4.num = T_3_2.vec->size;
T_3_5 = T_3_2;
for (T_3_3.num = 1; T_3_3.num <= T_3_4.num; T_3_3.num++) {
each_ap.num = T_3_5.vec->data[T_3_3.num - 1];
LINE(32);
{
err = g_tblOPfind_tbls_in_signature(each_ap, pbl);
if (err != ERR_ok) goto ex_0;
}
}
}
end_inline_for_1:;
}}/* end if */
}
}/* end if */
LINE(36);
{
err = g_tblOPfind_tbls(bod, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(37);
{
CLUREF T_1_1;
err = g_tblOPtbl_uniq(pbl, &T_1_1);
if (err != ERR_ok) goto ex_0;
pbl.num = T_1_1.num;
}
LINE(38);
{
g_tblOPcum_pbl.num = pbl.num;
}
LINE(40);
{
err = g_tblOPg_field_tables(e, CLU_1);
if (err != ERR_ok) goto ex_0;
}
LINE(41);
{
{signal (ERR_ok);}}
goto end_0;
ex_0:
{
if (err == ERR_failure) {signal(ERR_failure);}
elist[0] = _pclu_erstr(err);
{signal(ERR_failure);}
}
end_0: {signal(ERR_ok);}
}
/**** END PROCEDURE find_tables ****/
/**** BEGIN PROCEDURE find_tbls_in_signature ****/
errcode g_tblOPfind_tbls_in_signature(ap, pbl)
CLUREF ap;
CLUREF pbl;
{
errcode err;
errcode ecode2;
CLUREF e;
if (g_tbl_own_init == 0) {
err = g_tbl_own_init_proc();
if (err != ERR_ok) goto ex_0;
}
enter_proc(44);
LINE(45);
{
CLUREF T_1_1;
T_1_1.num = ap.vec->data[0];
err = g_tblOPfind_tbl_decllist(T_1_1, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(47);
{
CLUREF T_1_1;
err = dbg_infoOPactive(&T_1_1);
if (err != ERR_ok) goto ex_0;
if (T_1_1.num == true) {
LINE(51);
{
CLUREF T_2_1;
T_2_1.num = ap.vec->data[10];
err = g_tblOPfind_tbl_typelist(T_2_1, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(52);
{
CLUREF T_2_1;
CLUREF T_2_2;
CLUREF T_2_3;
CLUREF T_2_4;
T_2_1.num = ap.vec->data[8];
T_2_3.num = T_2_1.vec->size;
T_2_4 = T_2_1;
for (T_2_2.num = 1; T_2_2.num <= T_2_3.num; T_2_2.num++) {
e.num = T_2_4.vec->data[T_2_2.num - 1];
LINE(53);
{
CLUREF T_3_1;
T_3_1.num = e.vec->data[1];
err = g_tblOPfind_tbl_typelist(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
}
}
end_inline_for_1:;
}
}/* end if */
goto end_0;
ex_0:
{
if (err == ERR_failure) {signal(ERR_failure);}
elist[0] = _pclu_erstr(err);
{signal(ERR_failure);}
}
end_0: {signal(ERR_ok);}
}
/**** END PROCEDURE find_tbls_in_signature ****/
/**** BEGIN PROCEDURE find_tbls ****/
errcode g_tblOPfind_tbls(bod, pbl)
CLUREF bod;
CLUREF pbl;
{
errcode err;
errcode ecode2;
CLUREF s;
CLUREF di;
CLUREF as;
CLUREF inv;
CLUREF w;
CLUREF f;
CLUREF dl;
CLUREF i;
CLUREF arm;
CLUREF b;
CLUREF t;
CLUREF el;
CLUREF c;
CLUREF e;
CLUREF a;
CLUREF r;
CLUREF d;
if (g_tbl_own_init == 0) {
err = g_tbl_own_init_proc();
if (err != ERR_ok) goto ex_0;
}
enter_proc(61);
LINE(62);
{
CLUREF T_1_1;
CLUREF T_1_2;
CLUREF T_1_3;
T_1_2.num = bod.vec->size;
T_1_3 = bod;
for (T_1_1.num = 1; T_1_1.num <= T_1_2.num; T_1_1.num++) {
s.num = T_1_3.vec->data[T_1_1.num - 1];
LINE(65);
{
CLUREF T_2_1;
err = stmtOPget_abs(s, &T_2_1);
if (err != ERR_ok) goto ex_0;
switch (T_2_1.cell->tag) {
case 7:
{CLUREF T_2_2;
T_2_2.num = T_2_1.cell->value;
di.num = T_2_2.num;
LINE(67);
{
CLUREF T_3_1;
T_3_1.num = di.vec->data[2];
err = g_tblOPfind_tbl_exprs(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(68);
{
CLUREF T_3_1;
T_3_1.num = di.vec->data[0];
err = g_tblOPfind_tbl_decllist(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 1:
{CLUREF T_2_3;
T_2_3.num = T_2_1.cell->value;
as.num = T_2_3.num;
LINE(70);
{
CLUREF T_3_1;
T_3_1.num = as.vec->data[2];
err = g_tblOPfind_tbl_exprlist(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 17:
{CLUREF T_2_4;
T_2_4.num = T_2_1.cell->value;
as.num = T_2_4.num;
LINE(72);
{
CLUREF T_3_1;
T_3_1.num = as.vec->data[0];
err = g_tblOPfind_tbl_exprs(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(73);
{
CLUREF T_3_1;
T_3_1.num = as.vec->data[1];
err = g_tblOPfind_tbl_exprs(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 13:
{CLUREF T_2_5;
T_2_5.num = T_2_1.cell->value;
inv.num = T_2_5.num;
LINE(75);
{
CLUREF T_3_1;
T_3_1.num = inv.vec->data[0];
err = g_tblOPfind_tbl_exprs(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(76);
{
CLUREF T_3_1;
T_3_1.num = inv.vec->data[1];
err = g_tblOPfind_tbl_exprlist(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 19:
{CLUREF T_2_6;
T_2_6.num = T_2_1.cell->value;
w.num = T_2_6.num;
LINE(78);
{
CLUREF T_3_1;
T_3_1.num = w.vec->data[1];
err = g_tblOPfind_tbl_exprs(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(79);
{
CLUREF T_3_1;
CLUREF T_3_2;
T_3_1.num = w.vec->data[0];
T_3_2.num = T_3_1.vec->data[1];
err = g_tblOPfind_tbls(T_3_2, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 10:
{CLUREF T_2_7;
T_2_7.num = T_2_1.cell->value;
f.num = T_2_7.num;
LINE(81);
{
CLUREF T_3_1;
err = dbg_infoOPactive(&T_3_1);
if (err != ERR_ok) goto ex_0;
if (T_3_1.num == true) {
LINE(82);
{
CLUREF T_4_1;
T_4_1.num = f.vec->data[3];
switch (T_4_1.cell->tag) {
case 1:
{CLUREF T_4_2;
T_4_2.num = T_4_1.cell->value;
dl.num = T_4_2.num;
LINE(84);
{
err = g_tblOPfind_tbl_decllist(dl, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 2:
{
break;
}
}
}
}
}/* end if */
LINE(88);
{
CLUREF T_3_1;
CLUREF T_3_2;
T_3_1.num = f.vec->data[2];
T_3_2.num = T_3_1.vec->data[0];
err = g_tblOPfind_tbl_exprs(T_3_2, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(89);
{
CLUREF T_3_1;
CLUREF T_3_2;
T_3_1.num = f.vec->data[2];
T_3_2.num = T_3_1.vec->data[1];
err = g_tblOPfind_tbl_exprlist(T_3_2, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(90);
{
CLUREF T_3_1;
CLUREF T_3_2;
T_3_1.num = f.vec->data[1];
T_3_2.num = T_3_1.vec->data[1];
err = g_tblOPfind_tbls(T_3_2, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 12:
{CLUREF T_2_8;
T_2_8.num = T_2_1.cell->value;
i.num = T_2_8.num;
LINE(92);
{
CLUREF T_3_1;
CLUREF T_3_2;
CLUREF T_3_3;
CLUREF T_3_4;
T_3_1.num = i.vec->data[0];
T_3_3.num = T_3_1.vec->size;
T_3_4 = T_3_1;
for (T_3_2.num = 1; T_3_2.num <= T_3_3.num; T_3_2.num++) {
arm.num = T_3_4.vec->data[T_3_2.num - 1];
LINE(93);
{
CLUREF T_4_1;
T_4_1.num = arm.vec->data[2];
err = g_tblOPfind_tbl_exprs(T_4_1, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(94);
{
CLUREF T_4_1;
CLUREF T_4_2;
T_4_1.num = arm.vec->data[0];
T_4_2.num = T_4_1.vec->data[1];
err = g_tblOPfind_tbls(T_4_2, pbl);
if (err != ERR_ok) goto ex_0;
}
}
}
end_inline_for_2:;
LINE(96);
{
CLUREF T_3_1;
T_3_1.num = i.vec->data[1];
switch (T_3_1.cell->tag) {
case 1:
{CLUREF T_3_2;
T_3_2.num = T_3_1.cell->value;
b.num = T_3_2.num;
LINE(98);
{
CLUREF T_4_1;
T_4_1.num = b.vec->data[1];
err = g_tblOPfind_tbls(T_4_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
default: {
}
}
}
break;
}
case 18:
{CLUREF T_2_9;
T_2_9.num = T_2_1.cell->value;
t.num = T_2_9.num;
LINE(102);
{
CLUREF T_3_1;
T_3_1.num = t.vec->data[1];
err = g_tblOPfind_tbl_exprs(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(103);
{
CLUREF T_3_1;
CLUREF T_3_2;
CLUREF T_3_3;
CLUREF T_3_4;
T_3_1.num = t.vec->data[0];
T_3_3.num = T_3_1.vec->size;
T_3_4 = T_3_1;
for (T_3_2.num = 1; T_3_2.num <= T_3_3.num; T_3_2.num++) {
arm.num = T_3_4.vec->data[T_3_2.num - 1];
LINE(104);
{
CLUREF T_4_1;
CLUREF T_4_2;
T_4_1.num = arm.vec->data[0];
T_4_2.num = T_4_1.vec->data[1];
err = g_tblOPfind_tbls(T_4_2, pbl);
if (err != ERR_ok) goto ex_0;
}
}
}
end_inline_for_3:;
LINE(106);
{
CLUREF T_3_1;
T_3_1.num = t.vec->data[2];
switch (T_3_1.cell->tag) {
case 1:
{CLUREF T_3_2;
T_3_2.num = T_3_1.cell->value;
b.num = T_3_2.num;
LINE(108);
{
CLUREF T_4_1;
T_4_1.num = b.vec->data[1];
err = g_tblOPfind_tbls(T_4_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
default: {
}
}
}
break;
}
case 15:
{CLUREF T_2_10;
T_2_10.num = T_2_1.cell->value;
el.num = T_2_10.num;
LINE(112);
{
err = g_tblOPfind_tbl_exprlist(el, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 20:
{CLUREF T_2_11;
T_2_11.num = T_2_1.cell->value;
el.num = T_2_11.num;
LINE(114);
{
err = g_tblOPfind_tbl_exprlist(el, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 16:
{CLUREF T_2_12;
T_2_12.num = T_2_1.cell->value;
c.num = T_2_12.num;
LINE(116);
{
CLUREF T_3_1;
T_3_1.num = c.vec->data[0];
err = g_tblOPfind_tbl_exprlist(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 9:
{CLUREF T_2_13;
T_2_13.num = T_2_1.cell->value;
c.num = T_2_13.num;
LINE(118);
{
CLUREF T_3_1;
T_3_1.num = c.vec->data[0];
err = g_tblOPfind_tbl_exprlist(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 3:
{CLUREF T_2_14;
T_2_14.num = T_2_1.cell->value;
b.num = T_2_14.num;
LINE(120);
{
CLUREF T_3_1;
T_3_1.num = b.vec->data[1];
err = g_tblOPfind_tbls(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 8:
{CLUREF T_2_15;
T_2_15.num = T_2_1.cell->value;
e.num = T_2_15.num;
LINE(122);
{
CLUREF T_3_1;
CLUREF T_3_2;
T_3_1.num = e.vec->data[2];
err = sequenceOPfill(CLU_1, T_3_1, &T_3_2);
if (err != ERR_ok) goto ex_0;
err = g_tblOPfind_tbls(T_3_2, pbl);
if (err != ERR_ok) goto ex_0;
}
LINE(123);
{
CLUREF T_3_1;
CLUREF T_3_2;
CLUREF T_3_3;
CLUREF T_3_4;
T_3_1.num = e.vec->data[0];
T_3_3.num = T_3_1.vec->size;
T_3_4 = T_3_1;
for (T_3_2.num = 1; T_3_2.num <= T_3_3.num; T_3_2.num++) {
a.num = T_3_4.vec->data[T_3_2.num - 1];
LINE(124);
{
CLUREF T_4_1;
CLUREF T_4_2;
T_4_1.num = a.vec->data[0];
T_4_2.num = T_4_1.vec->data[1];
err = g_tblOPfind_tbls(T_4_2, pbl);
if (err != ERR_ok) goto ex_0;
}
}
}
end_inline_for_4:;
LINE(127);
{
CLUREF T_3_1;
T_3_1.num = e.vec->data[1];
switch (T_3_1.cell->tag) {
case 1:
{CLUREF T_3_2;
T_3_2.num = T_3_1.cell->value;
a.num = T_3_2.num;
LINE(129);
{
CLUREF T_4_1;
CLUREF T_4_2;
T_4_1.num = a.vec->data[0];
T_4_2.num = T_4_1.vec->data[1];
err = g_tblOPfind_tbls(T_4_2, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
default: {
}
}
}
break;
}
case 14:
{CLUREF T_2_16;
T_2_16.num = T_2_1.cell->value;
r.num = T_2_16.num;
LINE(133);
{
CLUREF T_3_1;
CLUREF T_3_2;
T_3_1.num = r.vec->data[1];
err = sequenceOPfill(CLU_1, T_3_1, &T_3_2);
if (err != ERR_ok) goto ex_0;
err = g_tblOPfind_tbls(T_3_2, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 11:
{CLUREF T_2_17;
T_2_17.num = T_2_1.cell->value;
f.num = T_2_17.num;
LINE(135);
{
CLUREF T_3_1;
T_3_1.num = f.vec->data[0];
err = g_tblOPfind_tbl_exprs(T_3_1, pbl);
if (err != ERR_ok) goto ex_0;
}
break;
}
case 6:
{CLUREF T_2_18;
T_2_18.num = T_2_1.cell->value;
d.num = T_2_18.num;
LINE(137);
{
CLUREF T_3_1;
err = dbg_infoOPactive(&T_3_1);
if (err != ERR_ok) goto ex_0;
if (T_3_1.num == true) {
LINE(138);
{
err = g_tblOPfind_tbl_decl(d, pbl);
if (err != ERR_ok) goto ex_0;
}
}
}/* end if */
break;
}
default: {
}
}
}
}
}
end_inline_for_1:;
goto end_0;
ex_0:
{
if (err == ERR_failure) {signal(ERR_failure);}
elist[0] = _pclu_erstr(err);
{signal(ERR_failure);}
}
end_0: {signal(ERR_ok);}
}
/**** END PROCEDURE find_tbls ****/