summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/datasendparser.tcl
blob: b94334dbad0e6d97dfd287fd645c95636c8603fd (plain)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
package provide DS9 1.0

######
# Begin autogenerated taccle (version 1.3) routines.
# Although taccle itself is protected by the GNU Public License (GPL)
# all user-supplied functions are protected by their respective
# author's license.  See http://mini.net/tcl/taccle for other details.
######

namespace eval datasend {
    variable yylval {}
    variable table
    variable rules
    variable token {}
    variable yycnt 0
    variable yyerr 0
    variable save_state 0

    namespace export yylex
}

proc datasend::YYABORT {} {
    return -code return 1
}

proc datasend::YYACCEPT {} {
    return -code return 0
}

proc datasend::YYERROR {} {
    variable yyerr
    set yyerr 1
}

proc datasend::yyclearin {} {
    variable token
    variable yycnt
    set token {}
    incr yycnt -1
}

proc datasend::yyerror {s} {
    puts stderr $s
}

proc datasend::setupvalues {stack pointer numsyms} {
    upvar 1 1 y
    set y {}
    for {set i 1} {$i <= $numsyms} {incr i} {
        upvar 1 $i y
        set y [lindex $stack $pointer]
        incr pointer
    }
}

proc datasend::unsetupvalues {numsyms} {
    for {set i 1} {$i <= $numsyms} {incr i} {
        upvar 1 $i y
        unset y
    }
}

array set datasend::table {
  21:289 reduce
  21:290 reduce
  31:294,target 31
  21:291 reduce
  21:301 reduce
  21:292 reduce
  21:302 reduce
  21:293 reduce
  21:303 reduce
  21:294 reduce
  9:288 reduce
  13:291,target 13
  13:301,target 13
  43:296,target 46
  58:301,target 65
  9:290 reduce
  9:289 reduce
  9:291 reduce
  9:301 reduce
  9:292 reduce
  9:302 reduce
  9:293 reduce
  9:303 reduce
  55:308,target 62
  9:294 reduce
  25:293,target 25
  25:303,target 25
  0:275,target 19
  19:292,target 19
  19:302,target 19
  20:292,target 20
  20:302,target 20
  5:303,target 5
  5:293,target 5
  14:291,target 14
  14:301,target 14
  44:296,target 47
  60:301,target 43
  59:301,target 43
  56:301 shift
  56:302 shift
  0:292,target 36
  56:308,target 63
  26:293,target 26
  26:303,target 26
  26:288 reduce
  26:289 reduce
  26:290 reduce
  26:291 reduce
  26:301 reduce
  26:292 reduce
  26:302 reduce
  56:308 goto
  26:293 reduce
  26:303 reduce
  26:294 reduce
  21:292,target 21
  21:302,target 21
  6:303,target 6
  6:293,target 6
  15:291,target 15
  15:301,target 15
  61:301,target 43
  1:302,target 1
  57:308,target 64
  27:293,target 27
  27:303,target 27
  77:0 reduce
  10:289,target 10
  10:290,target 10
  0:266,target 10
  62:301 shift
  22:292,target 22
  22:302,target 22
  67:302,target 44
  62:302 shift
  7:303,target 7
  7:293,target 7
  32:301 reduce
  32:302 reduce
  62:308 goto
  32:303 reduce
  16:291,target 16
  16:301,target 16
  62:301,target 43
  2:302,target 2
  28:293,target 28
  28:303,target 28
  0:283,target 27
  11:289,target 11
  11:290,target 11
  23:292,target 23
  23:302,target 23
  68:302,target 44
  8:303,target 8
  8:293,target 8
  65:299,target 76
  17:291,target 17
  17:301,target 17
  63:301,target 43
  67:301 shift
  67:302 shift
  3:302,target 3
  60:308,target 67
  59:308,target 66
  29:293,target 29
  29:303,target 29
  30:293,target 30
  30:303,target 30
  37:301 reduce
  0:309,target 42
  37:302 reduce
  67:308 goto
  37:303 reduce
  12:289,target 12
  12:290,target 12
  24:292,target 24
  24:302,target 24
  85:0,target 54
  0:257,target 1
  9:293,target 9
  9:303,target 9
  66:299,target 76
  18:291,target 18
  18:301,target 18
  64:301,target 43
  4:302,target 4
  61:308,target 68
  31:293,target 31
  31:303,target 31
  13:289,target 13
  13:290,target 13
  43:295,target 46
  78:0 reduce
  25:292,target 25
  25:302,target 25
  0:274,target 18
  43:300 reduce
  43:301 reduce
  43:302 reduce
  13:288 reduce
  13:289 reduce
  13:290 reduce
  43:295 reduce
  13:291 reduce
  13:301 reduce
  43:296 reduce
  13:292 reduce
  13:302 reduce
  19:291,target 19
  19:301,target 19
  20:291,target 20
  20:301,target 20
  43:297 reduce
  13:293 reduce
  13:303 reduce
  43:298 reduce
  13:294 reduce
  43:299 reduce
  82:0,target 49
  5:302,target 5
  5:292,target 5
  62:308,target 69
  2:301 reduce
  32:303,target 32
  2:302 reduce
  14:289,target 14
  14:290,target 14
  44:295,target 47
  0:291,target 35
  26:292,target 26
  26:302,target 26
  21:291,target 21
  21:301,target 21
  6:302,target 6
  6:292,target 6
  63:308,target 70
  33:303,target 33
  48:301 shift
  48:302 shift
  18:288 reduce
  15:289,target 15
  15:290,target 15
  18:289 reduce
  18:290 reduce
  18:291 reduce
  18:301 reduce
  18:292 reduce
  18:302 reduce
  48:308 goto
  18:293 reduce
  18:303 reduce
  1:301,target 1
  18:294 reduce
  7:288 reduce
  27:292,target 27
  27:302,target 27
  78:0,target 48
  7:290 reduce
  7:289 reduce
  65:0 reduce
  7:301 reduce
  7:291 reduce
  7:302 reduce
  7:292 reduce
  7:303 reduce
  7:293 reduce
  70:299,target 76
  69:299,target 76
  7:294 reduce
  10:288,target 10
  40:294,target 38
  0:265,target 9
  22:291,target 22
  22:301,target 22
  67:301,target 43
  7:302,target 7
  7:292,target 7
  64:308,target 71
  34:303,target 34
  16:289,target 16
  16:290,target 16
  2:301,target 2
  28:292,target 28
  28:302,target 28
  54:301 shift
  54:302 shift
  71:299,target 76
  0:282,target 26
  11:288,target 11
  80:0 reduce
  79:0 reduce
  24:288 reduce
  24:289 reduce
  24:290 reduce
  24:291 reduce
  24:301 reduce
  24:292 reduce
  24:302 reduce
  54:308 goto
  23:291,target 23
  23:301,target 23
  24:293 reduce
  24:303 reduce
  68:301,target 43
  24:294 reduce
  75:0,target 44
  8:302,target 8
  8:292,target 8
  65:298,target 75
  35:303,target 35
  44:0,target 47
  17:289,target 17
  17:290,target 17
  3:301,target 3
  29:292,target 29
  29:302,target 29
  30:292,target 30
  30:302,target 30
  12:288,target 12
  24:291,target 24
  24:301,target 24
  9:292,target 9
  9:302,target 9
  66:298,target 75
  60:301 shift
  59:301 shift
  36:303,target 36
  60:302 shift
  59:302 shift
  29:288 reduce
  30:288 reduce
  29:289 reduce
  29:290 reduce
  30:289 reduce
  30:290 reduce
  18:289,target 18
  18:290,target 18
  29:291 reduce
  29:301 reduce
  30:291 reduce
  30:301 reduce
  29:292 reduce
  29:302 reduce
  30:292 reduce
  30:302 reduce
  60:308 goto
  59:308 goto
  29:293 reduce
  29:303 reduce
  30:293 reduce
  30:303 reduce
  29:294 reduce
  30:294 reduce
  4:301,target 4
  72:0,target 40
  31:292,target 31
  31:302,target 31
  13:288,target 13
  66:0 reduce
  25:291,target 25
  25:301,target 25
  0:273,target 17
  67:308,target 80
  37:303,target 37
  19:289,target 19
  19:290,target 19
  20:289,target 20
  20:290,target 20
  65:300,target 77
  5:301,target 5
  5:291,target 5
  32:302,target 32
  65:300 shift
  14:288,target 14
  65:295 shift
  65:296 shift
  35:301 reduce
  65:297 shift
  65:307 goto
  35:302 reduce
  65:298 shift
  0:290,target 34
  0:289,target 33
  35:303 reduce
  65:299 shift
  26:291,target 26
  26:301,target 26
  81:0 reduce
  68:308,target 81
  38:303,target 38
  21:289,target 21
  21:290,target 21
  66:300,target 77
  6:301,target 6
  6:291,target 6
  0:257 shift
  33:302,target 33
  0:258 shift
  0:259 shift
  0:260 shift
  0:261 shift
  0:262 shift
  0:263 shift
  15:288,target 15
  0:264 shift
  0:265 shift
  0:266 shift
  0:267 shift
  0:268 shift
  27:291,target 27
  27:301,target 27
  0:269 shift
  0:270 shift
  0:271 shift
  71:300 shift
  0:272 shift
  0:273 shift
  70:298,target 75
  69:298,target 75
  0:274 shift
  40:303,target 46
  40:293,target 37
  0:275 shift
  0:264,target 8
  0:276 shift
  71:295 shift
  0:277 shift
  71:296 shift
  0:278 shift
  41:301 shift
  71:297 shift
  71:307 goto
  0:280 shift
  0:279 shift
  22:289,target 22
  22:290,target 22
  41:302 shift
  71:298 shift
  0:281 shift
  41:303 shift
  71:299 shift
  0:282 shift
  11:288 reduce
  0:283 shift
  11:289 reduce
  11:290 reduce
  65:0,target 39
  7:301,target 7
  7:291,target 7
  0:284 shift
  11:291 reduce
  11:301 reduce
  0:285 shift
  11:292 reduce
  11:302 reduce
  34:302,target 34
  0:286 shift
  11:293 reduce
  11:303 reduce
  41:308 goto
  0:287 shift
  11:294 reduce
  0:288 shift
  0:290 shift
  0:289 shift
  0:291 shift
  16:288,target 16
  0:292 shift
  0:293 shift
  0:294 shift
  0:304 goto
  0:305 goto
  0:306 goto
  28:291,target 28
  28:301,target 28
  0:309 goto
  71:298,target 75
  0:281,target 25
  41:303,target 49
  23:289,target 23
  23:290,target 23
  8:301,target 8
  8:291,target 8
  65:297,target 74
  65:307,target 78
  35:302,target 35
  17:288,target 17
  46:303 shift
  16:288 reduce
  16:289 reduce
  16:290 reduce
  29:291,target 29
  29:301,target 29
  30:291,target 30
  30:301,target 30
  16:291 reduce
  16:301 reduce
  16:292 reduce
  16:302 reduce
  16:293 reduce
  16:303 reduce
  16:294 reduce
  5:288 reduce
  5:290 reduce
  5:289 reduce
  5:301 reduce
  5:291 reduce
  82:0 reduce
  5:302 reduce
  5:292 reduce
  5:303 reduce
  5:293 reduce
  5:294 reduce
  24:289,target 24
  24:290,target 24
  70:300,target 77
  69:300,target 77
  9:291,target 9
  9:301,target 9
  66:297,target 74
  66:307,target 79
  36:302,target 36
  18:288,target 18
  31:291,target 31
  31:301,target 31
  52:301 shift
  52:302 shift
  25:289,target 25
  25:290,target 25
  71:300,target 77
  0:272,target 16
  22:288 reduce
  22:289 reduce
  22:290 reduce
  22:291 reduce
  22:301 reduce
  22:292 reduce
  22:302 reduce
  52:308 goto
  22:293 reduce
  22:303 reduce
  37:302,target 37
  22:294 reduce
  80:299,target 76
  19:288,target 19
  20:288,target 20
  5:290,target 5
  5:289,target 5
  32:301,target 32
  0:288,target 32
  26:289,target 26
  26:290,target 26
  38:302,target 38
  81:299,target 76
  57:301 shift
  21:288,target 21
  86:0,target 51
  57:302 shift
  27:288 reduce
  6:290,target 6
  6:289,target 6
  27:289 reduce
  27:290 reduce
  27:291 reduce
  27:301 reduce
  33:301,target 33
  27:292 reduce
  27:302 reduce
  57:308 goto
  27:293 reduce
  27:303 reduce
  27:294 reduce
  27:289,target 27
  27:290,target 27
  83:0 reduce
  70:297,target 74
  70:307,target 83
  69:297,target 74
  69:307,target 82
  39:302,target 44
  40:302,target 44
  40:292,target 36
  0:263,target 7
  22:288,target 22
  7:290,target 7
  7:289,target 7
  34:301,target 34
  46:303,target 52
  63:301 shift
  83:0,target 53
  63:302 shift
  28:289,target 28
  28:290,target 28
  33:301 reduce
  33:302 reduce
  63:308 goto
  33:303 reduce
  71:297,target 74
  71:307,target 84
  0:280,target 24
  0:279,target 23
  41:302,target 44
  23:288,target 23
  8:290,target 8
  8:289,target 8
  65:296,target 73
  35:301,target 35
  47:303,target 53
  29:289,target 29
  29:290,target 29
  30:289,target 30
  30:290,target 30
  0:306,target 41
  70:0 reduce
  69:0 reduce
  68:301 shift
  80:0,target 39
  79:0,target 52
  68:302 shift
  24:288,target 24
  9:290,target 9
  9:289,target 9
  38:301 reduce
  66:296,target 73
  36:301,target 36
  38:302 reduce
  68:308 goto
  38:303 reduce
  31:289,target 31
  31:290,target 31
  42:0 accept
  43:302,target 46
  10:294,target 10
  84:0 reduce
  25:288,target 25
  0:271,target 15
  37:301,target 37
  80:298,target 75
  49:303,target 56
  76:0,target 42
  5:288,target 5
  44:300 reduce
  44:301 reduce
  44:302 reduce
  14:288 reduce
  14:289 reduce
  14:290 reduce
  44:295 reduce
  44:302,target 47
  14:291 reduce
  14:301 reduce
  44:296 reduce
  14:292 reduce
  14:302 reduce
  44:297 reduce
  14:293 reduce
  14:303 reduce
  44:298 reduce
  0:287,target 31
  11:294,target 11
  14:294 reduce
  44:299 reduce
  26:288,target 26
  3:301 reduce
  3:302 reduce
  38:301,target 38
  81:298,target 75
  6:288,target 6
  45:302,target 44
  80:300 shift
  73:0,target 43
  12:294,target 12
  27:288,target 27
  80:295 shift
  71:0 reduce
  80:296 shift
  50:301 shift
  42:0,target 0
  80:297 shift
  80:307 goto
  50:302 shift
  80:298 shift
  70:296,target 73
  69:296,target 73
  49:303 shift
  39:301,target 43
  40:301,target 43
  40:291,target 35
  80:299 shift
  19:288 reduce
  20:288 reduce
  0:262,target 6
  19:289 reduce
  19:290 reduce
  20:289 reduce
  20:290 reduce
  19:291 reduce
  19:301 reduce
  20:291 reduce
  20:301 reduce
  19:292 reduce
  19:302 reduce
  20:292 reduce
  20:302 reduce
  50:308 goto
  19:293 reduce
  19:303 reduce
  20:293 reduce
  20:303 reduce
  19:294 reduce
  20:294 reduce
  8:288 reduce
  8:290 reduce
  8:289 reduce
  8:301 reduce
  8:291 reduce
  7:288,target 7
  8:302 reduce
  8:292 reduce
  80:300,target 77
  8:303 reduce
  8:293 reduce
  8:294 reduce
  13:294,target 13
  43:299,target 46
  28:288,target 28
  43:0 reduce
  71:296,target 73
  0:278,target 22
  41:301,target 43
  85:0 reduce
  53:303,target 60
  70:0,target 39
  69:0,target 39
  8:288,target 8
  65:295,target 72
  55:301 shift
  81:300,target 77
  55:302 shift
  25:288 reduce
  25:289 reduce
  25:290 reduce
  47:302,target 44
  25:291 reduce
  25:301 reduce
  25:292 reduce
  25:302 reduce
  55:308 goto
  25:293 reduce
  25:303 reduce
  25:294 reduce
  14:294,target 14
  44:299,target 47
  29:288,target 29
  30:288,target 30
  0:305,target 40
  9:288,target 9
  66:295,target 72
  48:302,target 44
  66:0,target 39
  15:294,target 15
  31:288,target 31
  61:301 shift
  61:302 shift
  31:288 reduce
  43:301,target 46
  31:289 reduce
  31:290 reduce
  31:291 reduce
  31:301 reduce
  72:0 reduce
  31:292 reduce
  31:302 reduce
  61:308 goto
  10:293,target 10
  10:303,target 10
  31:293 reduce
  31:303 reduce
  39:308,target 45
  40:308,target 48
  31:294 reduce
  0:269,target 13
  0:270,target 14
  80:297,target 74
  80:307,target 85
  50:302,target 44
  16:294,target 16
  44:301,target 47
  44:0 reduce
  0:286,target 30
  11:293,target 11
  11:303,target 11
  41:308,target 50
  86:0 reduce
  66:300 shift
  66:295 shift
  66:296 shift
  36:301 reduce
  81:297,target 74
  81:307,target 86
  66:297 shift
  66:307 goto
  36:302 reduce
  66:298 shift
  36:303 reduce
  66:299 shift
  17:294,target 17
  45:301,target 43
  12:293,target 12
  12:303,target 12
  70:295,target 72
  69:295,target 72
  40:289,target 33
  40:290,target 34
  0:261,target 5
  52:302,target 44
  18:294,target 18
  12:288 reduce
  13:293,target 13
  13:303,target 13
  43:298,target 46
  12:289 reduce
  12:290 reduce
  12:291 reduce
  12:301 reduce
  12:292 reduce
  12:302 reduce
  12:293 reduce
  12:303 reduce
  73:0 reduce
  12:294 reduce
  71:295,target 72
  0:277,target 21
  1:301 reduce
  1:302 reduce
  19:294,target 19
  20:294,target 20
  47:301,target 43
  14:293,target 14
  14:303,target 14
  44:298,target 47
  0:294,target 38
  0:304,target 39
  47:301 shift
  47:302 shift
  54:302,target 44
  47:303 shift
  17:288 reduce
  17:289 reduce
  17:290 reduce
  17:291 reduce
  17:301 reduce
  17:292 reduce
  17:302 reduce
  21:294,target 21
  17:293 reduce
  17:303 reduce
  47:308 goto
  17:294 reduce
  6:288 reduce
  6:290 reduce
  6:289 reduce
  6:301 reduce
  6:291 reduce
  48:301,target 43
  6:302 reduce
  6:292 reduce
  6:303 reduce
  6:293 reduce
  6:294 reduce
  15:293,target 15
  15:303,target 15
  45:308,target 51
  43:300,target 46
  84:0,target 50
  10:292,target 10
  10:302,target 10
  55:302,target 44
  0:268,target 12
  22:294,target 22
  80:296,target 73
  50:301,target 43
  53:303 shift
  23:288 reduce
  16:293,target 16
  16:303,target 16
  23:289 reduce
  23:290 reduce
  23:291 reduce
  23:301 reduce
  23:292 reduce
  23:302 reduce
  23:293 reduce
  23:303 reduce
  23:294 reduce
  44:300,target 47
  0:285,target 29
  11:292,target 11
  11:302,target 11
  74:0 reduce
  56:302,target 44
  23:294,target 23
  81:0,target 39
  81:296,target 73
  51:301,target 58
  47:308,target 54
  17:293,target 17
  17:303,target 17
  58:301 shift
  12:292,target 12
  12:302,target 12
  57:302,target 44
  28:288 reduce
  28:289 reduce
  28:290 reduce
  28:291 reduce
  28:301 reduce
  28:292 reduce
  28:302 reduce
  24:294,target 24
  28:293 reduce
  28:303 reduce
  28:294 reduce
  40:288,target 32
  0:259,target 3
  0:260,target 4
  52:301,target 43
  48:308,target 55
  18:293,target 18
  18:303,target 18
  77:0,target 45
  13:292,target 13
  13:302,target 13
  43:297,target 46
  25:294,target 25
  0:276,target 20
  64:301 shift
  64:302 shift
  50:308,target 57
  19:293,target 19
  19:303,target 19
  20:293,target 20
  20:303,target 20
  34:301 reduce
  34:302 reduce
  64:308 goto
  34:303 reduce
  5:294,target 5
  14:292,target 14
  14:302,target 14
  44:297,target 47
  60:302,target 44
  59:302,target 44
  0:293,target 37
  26:294,target 26
  75:0 reduce
  74:0,target 41
  54:301,target 43
  43:0,target 46
  21:293,target 21
  21:303,target 21
  6:294,target 6
  70:300 shift
  69:300 shift
  15:292,target 15
  15:302,target 15
  40:288 shift
  70:295 shift
  69:295 shift
  61:302,target 44
  40:289 shift
  40:290 shift
  70:296 shift
  69:296 shift
  39:301 shift
  40:301 shift
  40:291 shift
  70:297 shift
  70:307 goto
  69:297 shift
  69:307 goto
  39:302 shift
  40:302 shift
  40:292 shift
  70:298 shift
  69:298 shift
  40:303 shift
  40:293 shift
  70:299 shift
  69:299 shift
  10:288 reduce
  27:294,target 27
  40:294 shift
  10:289 reduce
  10:290 reduce
  10:291 reduce
  10:301 reduce
  40:306 goto
  10:292 reduce
  10:302 reduce
  10:293 reduce
  10:303 reduce
  39:308 goto
  40:308 goto
  10:291,target 10
  10:294 reduce
  10:301,target 10
  40:306,target 47
  55:301,target 43
  0:267,target 11
  52:308,target 59
  22:293,target 22
  22:303,target 22
  7:294,target 7
  80:295,target 72
  71:0,target 39
  16:292,target 16
  16:302,target 16
  62:302,target 44
  28:294,target 28
  0:284,target 28
  11:291,target 11
  11:301,target 11
  56:301,target 43
  45:301 shift
  23:293,target 23
  23:303,target 23
  45:302 shift
  15:288 reduce
  15:289 reduce
  15:290 reduce
  8:294,target 8
  15:291 reduce
  15:301 reduce
  15:292 reduce
  15:302 reduce
  81:295,target 72
  15:293 reduce
  15:303 reduce
  45:308 goto
  15:294 reduce
  4:301 reduce
  17:292,target 17
  17:302,target 17
  63:302,target 44
  4:302 reduce
  29:294,target 29
  30:294,target 30
  12:291,target 12
  12:301,target 12
  57:301,target 43
  76:0 reduce
  54:308,target 61
  24:293,target 24
  24:303,target 24
  0:258,target 2
  9:294,target 9
  81:300 shift
  81:295 shift
  18:292,target 18
  18:302,target 18
  81:296 shift
  64:302,target 44
  51:301 shift
  81:297 shift
  81:307 goto
  81:298 shift
  81:299 shift
  21:288 reduce
}

array set datasend::rules {
  9,l 305
  11,l 305
  32,l 306
  53,l 309
  6,l 305
  28,l 305
  50,l 309
  49,l 309
  3,l 304
  25,l 305
  46,l 308
  0,l 310
  22,l 305
  43,l 307
  18,l 305
  40,l 307
  39,l 307
  15,l 305
  36,l 306
  12,l 305
  33,l 306
  54,l 309
  7,l 305
  29,l 305
  30,l 305
  51,l 309
  4,l 304
  26,l 305
  47,l 308
  1,l 304
  23,l 305
  44,l 307
  19,l 305
  20,l 305
  41,l 307
  16,l 305
  37,l 306
  13,l 305
  34,l 306
  8,l 305
  10,l 305
  31,l 305
  52,l 309
  5,l 305
  27,l 305
  48,l 309
  2,l 304
  24,l 305
  45,l 307
  21,l 305
  42,l 307
  17,l 305
  38,l 306
  14,l 305
  35,l 306
}

array set datasend::rules {
  12,dc 1
  26,dc 1
  3,dc 1
  41,dc 1
  18,dc 1
  33,dc 1
  9,dc 1
  47,dc 1
  11,dc 1
  25,dc 1
  2,dc 1
  40,dc 1
  39,dc 0
  54,dc 7
  17,dc 1
  32,dc 1
  8,dc 1
  46,dc 1
  10,dc 1
  24,dc 1
  1,dc 1
  38,dc 1
  53,dc 6
  16,dc 1
  31,dc 1
  7,dc 1
  45,dc 1
  23,dc 1
  0,dc 1
  37,dc 1
  52,dc 6
  15,dc 1
  29,dc 1
  30,dc 1
  6,dc 1
  44,dc 1
  22,dc 1
  36,dc 1
  51,dc 7
  14,dc 1
  28,dc 1
  5,dc 1
  43,dc 1
  21,dc 1
  35,dc 1
  50,dc 6
  49,dc 6
  13,dc 1
  27,dc 1
  4,dc 1
  42,dc 1
  19,dc 1
  20,dc 1
  34,dc 1
  48,dc 6
}

array set datasend::rules {
  41,line 160
  7,line 124
  37,line 155
  4,line 120
  34,line 152
  1,line 117
  31,line 148
  27,line 144
  24,line 141
  21,line 138
  17,line 134
  14,line 131
  11,line 128
  53,line 182
  50,line 175
  49,line 173
  46,line 166
  43,line 162
  9,line 126
  40,line 159
  39,line 158
  6,line 123
  36,line 154
  3,line 119
  33,line 151
  29,line 146
  30,line 147
  26,line 143
  23,line 140
  19,line 136
  20,line 137
  16,line 133
  13,line 130
  10,line 127
  52,line 180
  48,line 171
  45,line 164
  42,line 161
  8,line 125
  38,line 156
  5,line 122
  35,line 153
  2,line 118
  32,line 150
  28,line 145
  25,line 142
  22,line 139
  18,line 135
  15,line 132
  12,line 129
  54,line 184
  51,line 178
  47,line 167
  44,line 163
}

array set datasend::lr1_table {
  66,trans {{301 68} {302 69} {308 75}}
  35 {{35 {301 302 303} 1}}
  85,trans {{295 76} {296 77} {297 78} {298 79} {299 80} {300 81} {307 90}}
  14,trans {}
  36 {{36 {301 302 303} 1}}
  33,trans {}
  37 {{37 {301 302 303} 1}}
  52,trans {}
  38 {{38 {301 302 303} 1}}
  71,trans {{301 68} {302 69} {308 84}}
  39 {{48 0 1} {46 {301 302} 0} {47 {301 302} 0}}
  40 {{49 0 1} {51 0 1} {52 0 1} {54 0 1} {46 {301 302} 0} {47 {301 302} 0} {32 {301 302 303} 0} {33 {301 302 303} 0} {34 {301 302 303} 0} {35 {301 302 303} 0} {36 {301 302 303} 0} {37 {301 302 303} 0} {38 {301 302 303} 0}}
  90,trans {}
  89,trans {}
  18,trans {}
  41 {{50 0 1} {53 0 1} {46 {301 302} 0} {47 {301 302} 0}}
  1,trans {}
  37,trans {}
  42 {{0 0 1}}
  56,trans {{301 43} {302 44} {308 63}}
  43 {{46 {301 302} 1}}
  75,trans {{295 76} {296 77} {297 78} {298 79} {299 80} {300 81} {307 88}}
  44 {{47 {301 302} 1}}
  45 {{48 0 2} {46 301 0} {47 301 0}}
  23,trans {}
  5,trans {}
  42,trans {}
  46 {{52 0 2}}
  61,trans {{301 68} {302 69} {308 70}}
  47 {{51 0 2} {54 0 2} {46 {301 302} 0} {47 {301 302} 0}}
  80,trans {}
  79,trans {}
  48 {{49 0 2} {46 {301 302} 0} {47 {301 302} 0}}
  50 {{50 0 2} {46 {301 302} 0} {47 {301 302} 0}}
  49 {{53 0 2}}
  27,trans {}
  9,trans {}
  46,trans {{303 54}}
  51 {{46 301 1}}
  65,trans {{301 68} {302 69} {308 74}}
  52 {{47 301 1}}
  84,trans {{295 76} {296 77} {297 78} {298 79} {299 80} {300 81} {307 89}}
  53 {{48 0 3}}
  13,trans {}
  54 {{52 0 3} {46 {301 302} 0} {47 {301 302} 0}}
  32,trans {}
  51,trans {}
  55 {{54 0 3}}
  70,trans {{295 76} {296 77} {297 78} {298 79} {299 80} {300 81} {307 83}}
  69,trans {}
  56 {{51 0 3} {46 {301 302} 0} {47 {301 302} 0}}
  88,trans {}
  57 {{49 0 3} {46 {301 302} 0} {47 {301 302} 0}}
  17,trans {}
  0,trans {{257 1} {258 2} {259 3} {260 4} {261 5} {262 6} {263 7} {264 8} {265 9} {266 10} {267 11} {268 12} {269 13} {270 14} {271 15} {272 16} {273 17} {274 18} {275 19} {276 20} {277 21} {278 22} {279 23} {280 24} {281 25} {282 26} {283 27} {284 28} {285 29} {286 30} {287 31} {288 32} {289 33} {290 34} {291 35} {292 36} {293 37} {294 38} {304 39} {305 40} {306 41} {309 42}}
  58 {{53 0 3} {46 {301 302} 0} {47 {301 302} 0}}
  36,trans {}
  55,trans {{303 62}}
  60 {{48 0 4}}
  59 {{50 0 3} {46 {301 302} 0} {47 {301 302} 0}}
  74,trans {{295 76} {296 77} {297 78} {298 79} {299 80} {300 81} {307 87}}
  61 {{52 0 4} {46 {0 295 296 297 298 299 300} 0} {47 {0 295 296 297 298 299 300} 0}}
  62 {{54 0 4} {46 {301 302} 0} {47 {301 302} 0}}
  22,trans {}
  4,trans {}
  63 {{51 0 4} {46 {301 302} 0} {47 {301 302} 0}}
  41,trans {{301 43} {302 44} {303 49} {308 50}}
  60,trans {{301 67}}
  59,trans {{301 43} {302 44} {308 66}}
  64 {{49 0 4} {46 {0 295 296 297 298 299 300} 0} {47 {0 295 296 297 298 299 300} 0}}
  78,trans {}
  65 {{53 0 4} {46 {0 295 296 297 298 299 300} 0} {47 {0 295 296 297 298 299 300} 0}}
  66 {{50 0 4} {46 {0 295 296 297 298 299 300} 0} {47 {0 295 296 297 298 299 300} 0}}
  26,trans {}
  8,trans {}
  67 {{48 0 5} {39 0 0} {40 0 0} {41 0 0} {42 0 0} {43 0 0} {44 0 0} {45 0 0}}
  45,trans {{301 51} {302 52} {308 53}}
  64,trans {{301 68} {302 69} {308 73}}
  68 {{46 {0 295 296 297 298 299 300} 1}}
  83,trans {}
  70 {{52 0 5} {39 0 0} {40 0 0} {41 0 0} {42 0 0} {43 0 0} {44 0 0} {45 0 0}}
  69 {{47 {0 295 296 297 298 299 300} 1}}
  12,trans {}
  71 {{54 0 5} {46 {0 295 296 297 298 299 300} 0} {47 {0 295 296 297 298 299 300} 0}}
  31,trans {}
  72 {{51 0 5} {46 {0 295 296 297 298 299 300} 0} {47 {0 295 296 297 298 299 300} 0}}
  50,trans {{301 43} {302 44} {308 59}}
  49,trans {{303 58}}
  68,trans {}
  73 {{49 0 5} {39 0 0} {40 0 0} {41 0 0} {42 0 0} {43 0 0} {44 0 0} {45 0 0}}
  87,trans {}
  74 {{53 0 5} {39 0 0} {40 0 0} {41 0 0} {42 0 0} {43 0 0} {44 0 0} {45 0 0}}
  16,trans {}
  75 {{50 0 5} {39 0 0} {40 0 0} {41 0 0} {42 0 0} {43 0 0} {44 0 0} {45 0 0}}
  35,trans {}
  76 {{40 0 1}}
  54,trans {{301 43} {302 44} {308 61}}
  73,trans {{295 76} {296 77} {297 78} {298 79} {299 80} {300 81} {307 86}}
  77 {{43 0 1}}
  78 {{41 0 1}}
  21,trans {}
  3,trans {}
  80 {{42 0 1}}
  79 {{44 0 1}}
  40,trans {{288 32} {289 33} {290 34} {291 35} {292 36} {293 37} {294 38} {301 43} {302 44} {303 46} {306 47} {308 48}}
  39,trans {{301 43} {302 44} {308 45}}
  81 {{45 0 1}}
  58,trans {{301 43} {302 44} {308 65}}
  10 {{10 {288 289 290 291 292 293 294 301 302 303} 1}}
  77,trans {}
  82 {{48 0 6}}
  11 {{11 {288 289 290 291 292 293 294 301 302 303} 1}}
  83 {{52 0 6}}
  25,trans {}
  7,trans {}
  12 {{12 {288 289 290 291 292 293 294 301 302 303} 1}}
  84 {{54 0 6} {39 0 0} {40 0 0} {41 0 0} {42 0 0} {43 0 0} {44 0 0} {45 0 0}}
  44,trans {}
  13 {{13 {288 289 290 291 292 293 294 301 302 303} 1}}
  85 {{51 0 6} {39 0 0} {40 0 0} {41 0 0} {42 0 0} {43 0 0} {44 0 0} {45 0 0}}
  63,trans {{301 43} {302 44} {308 72}}
  14 {{14 {288 289 290 291 292 293 294 301 302 303} 1}}
  82,trans {}
  86 {{49 0 6}}
  11,trans {}
  15 {{15 {288 289 290 291 292 293 294 301 302 303} 1}}
  87 {{53 0 6}}
  30,trans {}
  29,trans {}
  16 {{16 {288 289 290 291 292 293 294 301 302 303} 1}}
  88 {{50 0 6}}
  48,trans {{301 43} {302 44} {308 57}}
  0 {{0 0 0} {48 0 0} {49 0 0} {50 0 0} {51 0 0} {52 0 0} {53 0 0} {54 0 0} {1 {301 302} 0} {2 {301 302} 0} {3 {301 302} 0} {4 {301 302} 0} {5 {288 289 290 291 292 293 294 301 302 303} 0} {6 {288 289 290 291 292 293 294 301 302 303} 0} {7 {288 289 290 291 292 293 294 301 302 303} 0} {8 {288 289 290 291 292 293 294 301 302 303} 0} {9 {288 289 290 291 292 293 294 301 302 303} 0} {10 {288 289 290 291 292 293 294 301 302 303} 0} {11 {288 289 290 291 292 293 294 301 302 303} 0} {12 {288 289 290 291 292 293 294 301 302 303} 0} {13 {288 289 290 291 292 293 294 301 302 303} 0} {14 {288 289 290 291 292 293 294 301 302 303} 0} {15 {288 289 290 291 292 293 294 301 302 303} 0} {16 {288 289 290 291 292 293 294 301 302 303} 0} {17 {288 289 290 291 292 293 294 301 302 303} 0} {18 {288 289 290 291 292 293 294 301 302 303} 0} {19 {288 289 290 291 292 293 294 301 302 303} 0} {20 {288 289 290 291 292 293 294 301 302 303} 0} {21 {288 289 290 291 292 293 294 301 302 303} 0} {22 {288 289 290 291 292 293 294 301 302 303} 0} {23 {288 289 290 291 292 293 294 301 302 303} 0} {24 {288 289 290 291 292 293 294 301 302 303} 0} {25 {288 289 290 291 292 293 294 301 302 303} 0} {26 {288 289 290 291 292 293 294 301 302 303} 0} {27 {288 289 290 291 292 293 294 301 302 303} 0} {28 {288 289 290 291 292 293 294 301 302 303} 0} {29 {288 289 290 291 292 293 294 301 302 303} 0} {30 {288 289 290 291 292 293 294 301 302 303} 0} {31 {288 289 290 291 292 293 294 301 302 303} 0} {32 {301 302 303} 0} {33 {301 302 303} 0} {34 {301 302 303} 0} {35 {301 302 303} 0} {36 {301 302 303} 0} {37 {301 302 303} 0} {38 {301 302 303} 0}}
  17 {{17 {288 289 290 291 292 293 294 301 302 303} 1}}
  90 {{51 0 7}}
  89 {{54 0 7}}
  67,trans {{295 76} {296 77} {297 78} {298 79} {299 80} {300 81} {307 82}}
  1 {{1 {301 302} 1}}
  18 {{18 {288 289 290 291 292 293 294 301 302 303} 1}}
  86,trans {}
  15,trans {}
  2 {{2 {301 302} 1}}
  19 {{19 {288 289 290 291 292 293 294 301 302 303} 1}}
  20 {{20 {288 289 290 291 292 293 294 301 302 303} 1}}
  34,trans {}
  3 {{3 {301 302} 1}}
  21 {{21 {288 289 290 291 292 293 294 301 302 303} 1}}
  53,trans {{301 60}}
  4 {{4 {301 302} 1}}
  22 {{22 {288 289 290 291 292 293 294 301 302 303} 1}}
  72,trans {{301 68} {302 69} {308 85}}
  5 {{5 {288 289 290 291 292 293 294 301 302 303} 1}}
  23 {{23 {288 289 290 291 292 293 294 301 302 303} 1}}
  20,trans {}
  19,trans {}
  6 {{6 {288 289 290 291 292 293 294 301 302 303} 1}}
  24 {{24 {288 289 290 291 292 293 294 301 302 303} 1}}
  2,trans {}
  38,trans {}
  7 {{7 {288 289 290 291 292 293 294 301 302 303} 1}}
  25 {{25 {288 289 290 291 292 293 294 301 302 303} 1}}
  57,trans {{301 43} {302 44} {308 64}}
  8 {{8 {288 289 290 291 292 293 294 301 302 303} 1}}
  26 {{26 {288 289 290 291 292 293 294 301 302 303} 1}}
  76,trans {}
  9 {{9 {288 289 290 291 292 293 294 301 302 303} 1}}
  27 {{27 {288 289 290 291 292 293 294 301 302 303} 1}}
  24,trans {}
  6,trans {}
  28 {{28 {288 289 290 291 292 293 294 301 302 303} 1}}
  43,trans {}
  29 {{29 {288 289 290 291 292 293 294 301 302 303} 1}}
  30 {{30 {288 289 290 291 292 293 294 301 302 303} 1}}
  62,trans {{301 43} {302 44} {308 71}}
  31 {{31 {288 289 290 291 292 293 294 301 302 303} 1}}
  81,trans {}
  10,trans {}
  32 {{32 {301 302 303} 1}}
  28,trans {}
  33 {{33 {301 302 303} 1}}
  47,trans {{301 43} {302 44} {303 55} {308 56}}
  34 {{34 {301 302 303} 1}}
}

array set datasend::token_id_table {
  286 WCSY_
  286,t 0
  287 WCSZ_
  292,line 44
  302,line 56
  288 FK4_
  265,title WCSD
  289 B1950_
  290 FK5_
  300 FALSE_
  284,title WCSW
  291 J2000_
  301 INT_
  292 ICRS_
  302 REAL_
  288,line 40
  293 GALACTIC_
  303 SEXSTR_
  304 coordsys
  294 ECLIPTIC_
  305 wcssys
  295 YES_
  306 skyframe
  296 NO_
  307 yesno
  262,t 0
  297 ON_
  308 numeric
  285,line 36
  298 OFF_
  310 start'
  309 datasend
  299 TRUE_
  283,t 0
  282,line 33
  264,title WCSC
  283,title WCSV
  278,line 29
  error,line 115
  258,t 0
  275,line 26
  279,t 0
  280,t 0
  272,line 23
  263,title WCSB
  282,title WCSU
  268,line 19
  276,t 0
  265,line 16
  307,t 1
  297,t 0
  262,line 13
  262,title WCSA
  0 {$}
  0,t 0
  281,title WCST
  310,title {}
  309,title {}
  error,t 0
  299,title TRUE
  258,line 8
  273,t 0
  304,t 1
  294,t 0
  261,title WCS
  279,title WCSR
  280,title WCSS
  308,title {}
  269,t 0
  270,t 0
  298,title OFF
  291,t 0
  301,t 0
  307,line 157
  266,t 0
  260,title DETECTOR
  259,title AMPLIFIER
  297,line 50
  278,title WCSQ
  307,title {}
  297,title ON
  287,t 0
  304,line 116
  294,line 46
  291,line 43
  301,line 55
  error,title {}
  263,t 0
  258,title PHYSICAL
  287,line 38
  277,title WCSP
  284,t 0
  306,title {}
  296,title NO
  284,line 35
  281,line 32
  260,t 0
  259,t 0
  281,t 0
  257,title IMAGE
  277,line 28
  276,title WCSO
  305,title {}
  295,title YES
  274,line 25
  271,line 22
  277,t 0
  308,t 1
  267,line 18
  298,t 0
  275,title WCSN
  304,title {}
  294,title ECLIPTIC
  264,line 15
  261,line 12
  274,t 0
  305,t 1
  295,t 0
  257,line 7
  274,title WCSM
  293,title GALACTIC
  303,title sexagesimal
  271,t 0
  error error
  292,t 0
  302,t 0
  273,title WCSL
  292,title ICRS
  302,title float
  267,t 0
  310,line 185
  309,line 169
  299,line 52
  288,t 0
  306,line 149
  296,line 49
  272,title WCSK
  291,title J2000
  293,line 45
  301,title integer
  303,line 58
  264,t 0
  285,t 0
  289,line 41
  290,line 42
  300,line 53
  286,line 37
  271,title WCSJ
  261,t 0
  283,line 34
  289,title B1950
  290,title FK5
  300,title FALSE
  282,t 0
  279,line 30
  280,line 31
  276,line 27
  257,t 0
  269,title WCSH
  270,title WCSI
  273,line 24
  288,title FK4
  278,t 0
  310,t 1
  309,t 1
  299,t 0
  269,line 20
  270,line 21
  266,line 17
  268,title WCSG
  275,t 0
  263,line 14
  287,title WCSZ
  306,t 1
  296,t 0
  260,line 10
  259,line 9
  272,t 0
  267,title WCSF
  257 IMAGE_
  286,title WCSY
  293,t 0
  303,t 0
  258 PHYSICAL_
  260 DETECTOR_
  259 AMPLIFIER_
  261 WCS_
  262 WCSA_
  263 WCSB_
  264 WCSC_
  265 WCSD_
  266 WCSE_
  267 WCSF_
  268,t 0
  268 WCSG_
  269 WCSH_
  270 WCSI_
  271 WCSJ_
  272 WCSK_
  289,t 0
  290,t 0
  300,t 0
  266,title WCSE
  273 WCSL_
  274 WCSM_
  285,title WCSX
  275 WCSN_
  308,line 165
  276 WCSO_
  298,line 51
  277 WCSP_
  278 WCSQ_
  279 WCSR_
  280 WCSS_
  281 WCST_
  305,line 121
  282 WCSU_
  295,line 48
  265,t 0
  283 WCSV_
  284 WCSW_
  285 WCSX_
}

proc datasend::yyparse {} {
    variable yylval
    variable table
    variable rules
    variable token
    variable yycnt
    variable lr1_table
    variable token_id_table
    variable yyerr
    variable save_state

    set yycnt 0
    set state_stack {0}
    set value_stack {{}}
    set token ""
    set accepted 0
    set yyerr 0
    set save_state 0

    while {$accepted == 0} {
        set state [lindex $state_stack end]
        if {$token == ""} {
            set yylval ""
            set token [yylex]
            set buflval $yylval
	    if {$token>0} {
	        incr yycnt
            }
        }
        if {![info exists table($state:$token)] || $yyerr} {
	    if {!$yyerr} {
	        set save_state $state
	    }
            # pop off states until error token accepted
            while {[llength $state_stack] > 0 && \
                       ![info exists table($state:error)]} {
                set state_stack [lrange $state_stack 0 end-1]
                set value_stack [lrange $value_stack 0 \
                                       [expr {[llength $state_stack] - 1}]]
                set state [lindex $state_stack end]
            }
            if {[llength $state_stack] == 0} {
 
	        set rr { }
                if {[info exists lr1_table($save_state,trans)] && [llength $lr1_table($save_state,trans)] >= 1} {
                    foreach trans $lr1_table($save_state,trans) {
                        foreach {tok_id nextstate} $trans {
			    set ss $token_id_table($tok_id,title)
			    if {$ss != {}} {
			        append rr "$ss, "
                            }
                        }
                    }
                }
		set rr [string trimleft $rr { }]
		set rr [string trimright $rr {, }]
                yyerror "parse error, expecting: $rr"


                return 1
            }
            lappend state_stack [set state $table($state:error,target)]
            lappend value_stack {}
            # consume tokens until it finds an acceptable one
            while {![info exists table($state:$token)]} {
                if {$token == 0} {
                    yyerror "end of file while recovering from error"
                    return 1
                }
                set yylval {}
                set token [yylex]
                set buflval $yylval
            }
            continue
        }
        switch -- $table($state:$token) {
            shift {
                lappend state_stack $table($state:$token,target)
                lappend value_stack $buflval
                set token ""
            }
            reduce {
                set rule $table($state:$token,target)
                set ll $rules($rule,l)
                if {[info exists rules($rule,e)]} {
                    set dc $rules($rule,e)
                } else {
                    set dc $rules($rule,dc)
                }
                set stackpointer [expr {[llength $state_stack]-$dc}]
                setupvalues $value_stack $stackpointer $dc
                set _ $1
                set yylval [lindex $value_stack end]
                switch -- $rule {
                    1 { set _ image }
                    2 { set _ physical }
                    3 { set _ amplifier }
                    4 { set _ detector }
                    5 { set _ wcs }
                    6 { set _ wcsa }
                    7 { set _ wcsb }
                    8 { set _ wcsc }
                    9 { set _ wcsd }
                    10 { set _ wcse }
                    11 { set _ wcsf }
                    12 { set _ wcsg }
                    13 { set _ wcsh }
                    14 { set _ wcsi }
                    15 { set _ wcsj }
                    16 { set _ wcsk }
                    17 { set _ wcsl }
                    18 { set _ wcsm }
                    19 { set _ wcsn }
                    20 { set _ wcso }
                    21 { set _ wcsp }
                    22 { set _ wcsq }
                    23 { set _ wcsr }
                    24 { set _ wcss }
                    25 { set _ wcst }
                    26 { set _ wcsu }
                    27 { set _ wcsv }
                    28 { set _ wcsw }
                    29 { set _ wcsx }
                    30 { set _ wcsy }
                    31 { set _ wcsz }
                    32 { set _ fk4 }
                    33 { set _ fk4 }
                    34 { set _ fk5 }
                    35 { set _ fk5 }
                    36 { set _ icrs }
                    37 { set _ galactic }
                    38 { set _ ecliptic }
                    39 { set _ 1 }
                    40 { set _ 1 }
                    41 { set _ 1 }
                    42 { set _ 1 }
                    43 { set _ 0 }
                    44 { set _ 0 }
                    45 { set _ 0 }
                    46 { set _ $1 }
                    47 { set _ $1 }
                    48 { DataSendCmd $1 fk5 $2 $3 $4 $5 $6 }
                    49 { DataSendCmd $1 fk5 $2 $3 $4 $5 $6 }
                    50 { DataSendCmd wcs $1 $2 $3 $4 $5 $6 }
                    51 { DataSendCmd $1 $2 $3 $4 $5 $6 $7 }
                    52 { DataSendCmd $1 fk5 $2 $3 $4 $5 $6 }
                    53 { DataSendCmd wcs $1 $2 $3 $4 $5 $6 }
                    54 { DataSendCmd $1 $2 $3 $4 $5 $6 $7 }
                }
                unsetupvalues $dc
                # pop off tokens from the stack if normal rule
                if {![info exists rules($rule,e)]} {
                    incr stackpointer -1
                    set state_stack [lrange $state_stack 0 $stackpointer]
                    set value_stack [lrange $value_stack 0 $stackpointer]
                }
                # now do the goto transition
                lappend state_stack $table([lindex $state_stack end]:$ll,target)
                lappend value_stack $_
            }
            accept {
                set accepted 1
            }
            goto -
            default {
                puts stderr "Internal parser error: illegal command $table($state:$token)"
                return 2
            }
        }
    }
    return 0
}

######
# end autogenerated taccle functions
######

proc datasend::yyerror {msg} {
     variable yycnt
     variable yy_current_buffer
     variable index_

     ParserError $msg $yycnt $yy_current_buffer $index_
}