summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/plotsendparser.tcl
blob: 3ce3aab22e5abdf0f8a62fc9b288c81d9025bcf2 (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
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 plotsend {
    variable yylval {}
    variable table
    variable rules
    variable token {}
    variable yycnt 0
    variable yyerr 0
    variable save_state 0

    namespace export yylex
}

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

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

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

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

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

proc plotsend::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 plotsend::unsetupvalues {numsyms} {
    for {set i 1} {$i <= $numsyms} {incr i} {
        upvar 1 $i y
        unset y
    }
}

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

array set plotsend::rules {
  9,l 312
  11,l 313
  32,l 314
  53,l 318
  74,l 322
  6,l 312
  28,l 314
  50,l 318
  49,l 318
  71,l 321
  3,l 309
  25,l 314
  46,l 316
  67,l 320
  0,l 323
  22,l 314
  43,l 316
  64,l 319
  18,l 314
  40,l 316
  39,l 315
  61,l 319
  15,l 314
  36,l 314
  57,l 318
  12,l 314
  33,l 314
  54,l 318
  75,l 322
  7,l 312
  29,l 314
  30,l 314
  51,l 318
  72,l 321
  4,l 311
  26,l 314
  47,l 317
  68,l 320
  1,l 309
  23,l 314
  44,l 316
  65,l 319
  19,l 314
  20,l 314
  41,l 316
  62,l 319
  16,l 314
  37,l 315
  58,l 318
  13,l 314
  34,l 314
  55,l 318
  76,l 322
  8,l 312
  10,l 313
  31,l 314
  52,l 318
  73,l 321
  5,l 309
  27,l 314
  48,l 317
  70,l 321
  69,l 320
  2,l 310
  24,l 314
  45,l 316
  66,l 320
  21,l 314
  42,l 316
  63,l 319
  17,l 314
  38,l 315
  60,l 319
  59,l 319
  14,l 314
  35,l 314
  56,l 318
}

array set plotsend::rules {
  63,dc 1
  12,dc 1
  26,dc 2
  3,dc 2
  41,dc 2
  55,dc 2
  70,dc 0
  69,dc 1
  18,dc 2
  33,dc 1
  9,dc 1
  47,dc 0
  62,dc 1
  11,dc 1
  76,dc 1
  25,dc 1
  2,dc 0
  40,dc 2
  39,dc 0
  54,dc 2
  68,dc 1
  17,dc 1
  32,dc 1
  8,dc 1
  46,dc 2
  61,dc 1
  10,dc 1
  75,dc 1
  24,dc 1
  1,dc 0
  38,dc 1
  53,dc 2
  67,dc 1
  16,dc 2
  31,dc 1
  7,dc 1
  45,dc 2
  60,dc 1
  59,dc 1
  74,dc 0
  23,dc 1
  0,dc 1
  37,dc 1
  52,dc 2
  66,dc 0
  15,dc 1
  29,dc 2
  30,dc 1
  6,dc 1
  44,dc 2
  58,dc 2
  73,dc 1
  22,dc 1
  36,dc 1
  51,dc 2
  65,dc 1
  14,dc 1
  28,dc 1
  5,dc 3
  43,dc 2
  57,dc 2
  72,dc 1
  21,dc 1
  35,dc 2
  50,dc 2
  49,dc 2
  64,dc 1
  13,dc 1
  27,dc 2
  4,dc 0
  42,dc 2
  56,dc 2
  71,dc 1
  19,dc 2
  20,dc 2
  34,dc 1
  48,dc 1
}

array set plotsend::rules {
  41,line 120
  7,line 73
  37,line 113
  4,line 68
  34,line 107
  1,line 67
  31,line 104
  27,line 100
  24,line 96
  21,line 93
  76,line 171
  17,line 89
  73,line 166
  14,line 86
  70,line 163
  69,line 160
  11,line 80
  66,line 157
  63,line 152
  60,line 148
  59,line 146
  56,line 141
  53,line 138
  50,line 134
  49,line 133
  46,line 125
  43,line 122
  9,line 75
  40,line 119
  39,line 116
  6,line 72
  36,line 110
  3,line 68
  33,line 106
  4,e 1
  29,line 102
  30,line 103
  26,line 99
  23,line 95
  19,line 91
  20,line 92
  75,line 170
  16,line 88
  72,line 165
  13,line 85
  68,line 159
  10,line 79
  65,line 154
  62,line 151
  58,line 143
  55,line 140
  52,line 136
  48,line 129
  45,line 124
  42,line 121
  8,line 74
  38,line 115
  5,line 69
  35,line 109
  2,line 67
  32,line 105
  28,line 101
  2,e 0
  25,line 97
  22,line 94
  18,line 90
  74,line 169
  15,line 87
  71,line 164
  12,line 84
  67,line 158
  64,line 153
  61,line 149
  57,line 142
  54,line 139
  51,line 135
  47,line 128
  44,line 123
}

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

array set plotsend::token_id_table {
  286 LIST_
  286,t 0
  287 LOG_
  292,line 46
  302,line 56
  288 MAX_
  317,t 1
  265,title AXESNUMBERS
  289 MIN_
  290 MODE_
  300 SMOOTH_
  284,title LEGEND
  291 NUMBERS_
  301 STATS_
  313,title {}
  292 NAME_
  302 STATISTICS_
  288,line 42
  293 POSITION_
  303 STYLE_
  294 RELIEF_
  304 TITLE_
  305 WEIGHT_
  295 SELECT_
  306 WIDTH_
  296 SHAPE_
  307 XAXIS_
  262,t 0
  297 SHOW_
  308 YAXIS_
  285,line 39
  298 SIZE_
  310 @PSEUDO1
  309 plotsend
  299 SLANT_
  311 @PSEUDO2
  283,t 0
  312 xy
  313 xyaxis
  314,t 1
  314 plotCmd
  282,line 36
  315 select
  316 axis
  264,title AXIS
  317 legend
  283,title LAYOUT
  318 fontt
  312,title {}
  320 title
  319 fontType
  278,line 32
  321 errorr
  error,line 65
  322 shape
  258,t 0
  323 start'
  275,line 29
  279,t 0
  280,t 0
  311,t 1
  272,line 26
  263,title AUTO
  282,title LABELS
  311,title {}
  268,line 22
  276,t 0
  Y,t 0
  265,line 19
  307,t 0
  297,t 0
  262,line 13
  0,t 0
  0 {$}
  262,title string
  281,title GRID
  310,title {}
  309,title {}
  error,t 0
  299,title SLANT
  258,line 8
  273,t 0
  294,t 0
  304,t 0
  321,line 162
  317,line 127
  261,title FONTWEIGHT
  279,title FORMAT
  280,title GRAPH
  308,title YAXIS
  269,t 0
  270,t 0
  298,title SIZE
  314,line 82
  291,t 0
  301,t 0
  322,t 1
  y,t 0
  311,line 68
  307,line 61
  266,t 0
  260,title FONTSTYLE
  259,title FONTSLANT
  297,line 51
  278,title FLIP
  307,title XAXIS
  297,title SHOW
  287,t 0
  294,line 48
  304,line 58
  318,t 1
  X X
  error,title {}
  291,line 45
  301,line 55
  Y Y
  263,t 0
  258,title FONTSIZE
  287,line 41
  277,title FILLCOLOR
  284,t 0
  306,title WIDTH
  296,title SHAPE
  315,t 1
  284,line 38
  281,line 35
  260,t 0
  259,t 0
  281,t 0
  257,title FONT
  277,line 31
  276,title FILL
  312,t 1
  305,title WEIGHT
  295,title SELECT
  274,line 28
  Y,line 74
  271,line 25
  x x
  277,t 0
  y y
  308,t 0
  267,line 21
  298,t 0
  275,title FAMILY
  294,title RELIEF
  304,title TITLE
  323,title {}
  264,line 18
  261,line 11
  274,t 0
  305,t 0
  295,t 0
  257,line 7
  274,title ERRORBAR
  323,line 172
  293,title POSITION
  303,title STYLE
  322,title {}
  320,line 156
  319,line 145
  error error
  271,t 0
  y,line 73
  292,t 0
  302,t 0
  316,line 118
  323,t 1
  273,title ERROR
  313,line 78
  292,title NAME
  302,title STATISTICS
  321,title {}
  267,t 0
  310,line 67
  309,line 66
  299,line 53
  288,t 0
  320,t 1
  319,t 1
  306,line 60
  296,line 50
  272,title DATASET
  291,title NUMBERS
  293,line 47
  301,title STATS
  303,line 57
  320,title {}
  319,title {}
  264,t 0
  Y,title {}
  285,t 0
  289,line 43
  290,line 44
  300,line 54
  316,t 1
  286,line 40
  271,title DASH
  261,t 0
  283,line 37
  289,title MIN
  290,title MODE
  300,title SMOOTH
  318,title {}
  282,t 0
  X,title {}
  279,line 33
  280,line 34
  313,t 1
  276,line 30
  257,t 0
  269,title CAP
  270,title COLOR
  273,line 27
  288,title MAX
  317,title {}
  278,t 0
  X,line 72
  310,t 1
  309,t 1
  299,t 0
  269,line 23
  270,line 24
  y,title {}
  266,line 20
  268,title BARMODE
  275,t 0
  263,line 17
  287,title LOG
  316,title {}
  X,t 0
  306,t 0
  296,t 0
  260,line 10
  259,line 9
  x,title {}
  322,line 168
  272,t 0
  267,title BACKGROUND
  257 FONT_
  286,title LIST
  293,t 0
  303,t 0
  315,title {}
  258 FONTSIZE_
  318,line 131
  260 FONTSTYLE_
  259 FONTSLANT_
  261 FONTWEIGHT_
  262 STRING_
  263 AUTO_
  x,line 71
  264 AXIS_
  315,line 112
  265 AXESNUMBERS_
  266 AXESTITLE_
  267 BACKGROUND_
  268,t 0
  268 BARMODE_
  269 CAP_
  270 COLOR_
  312,line 71
  271 DASH_
  272 DATASET_
  289,t 0
  290,t 0
  300,t 0
  266,title AXESTITLE
  273 ERROR_
  274 ERRORBAR_
  285,title LEGENDTITLE
  321,t 1
  314,title {}
  275 FAMILY_
  308,line 62
  276 FILL_
  298,line 52
  x,t 0
  277 FILLCOLOR_
  278 FLIP_
  279 FORMAT_
  280 GRAPH_
  281 GRID_
  305,line 59
  282 LABELS_
  295,line 49
  265,t 0
  283 LAYOUT_
  284 LEGEND_
  285 LEGENDTITLE_
}

proc plotsend::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 { ProcessSendCmdGet iap windows }
                    2 { if {![PlotCmdCheck]} {plot::YYABORT} }
                    4 { if {![PlotCmdRef $1]} {plot::YYABORT} }
                    6 { set _ x }
                    7 { set _ x }
                    8 { set _ y }
                    9 { set _ y }
                    10 { set _ x }
                    11 { set _ y }
                    12 { ProcessSendCmdCVAR PlotStatsGenerate }
                    13 { ProcessSendCmdCVAR PlotStatsGenerate }
                    14 { ProcessSendCmdCVAR PlotListGenerate }
                    15 { ProcessSendCmdCVARGet mode }
                    17 { ProcessSendCmdCVARGet background }
                    21 { ProcessSendCmdCVARGet bar,mode }
                    22 { ProcessSendCmdCVARYesNo graph,ds,show }
                    23 { ProcessSendCmdCVARGet graph,ds,color }
                    24 { ProcessSendCmdCVARGet graph,ds,fill }
                    25 { ProcessSendCmdCVARGet graph,ds,fill,color }
                    28 { ProcessSendCmdCVARGet graph,ds,name }
                    30 { ProcessSendCmdCVARGet graph,ds,bar,relief }
                    31 { ProcessSendCmdCVARGet graph,ds,smooth }
                    32 { ProcessSendCmdCVARGet graph,ds,width }
                    33 { ProcessSendCmdCVARYesNo graph,ds,dash }
                    34 { ProcessSendCmdCVARGet layout }
                    36 { ProcessSendCmdCVARGet graph,ds,current }
                    37 { ProcessSendCmdCVARGet graph,ds,current }
                    38 { ProcessSendCmdCVARGet graph,current }
                    39 { ProcessSendCmdCVARGet graph,ds,current }
                    40 { ProcessSendCmdCVARYesNo "graph,axis,$1,grid" }
                    41 { ProcessSendCmdCVARYesNo "graph,axis,$1,log" }
                    42 { ProcessSendCmdCVARYesNo "graph,axis,$1,flip" }
                    43 { ProcessSendCmdCVARYesNo "graph,axis,$1,auto" }
                    44 { ProcessSendCmdCVARGet "graph,axis,$1,min" }
                    45 { ProcessSendCmdCVARGet "graph,axis,$1,max" }
                    46 { ProcessSendCmdCVARGet "graph,axis,$1,format" }
                    47 { ProcessSendCmdCVARYesNo legend }
                    48 { ProcessSendCmdCVARGet legend,position }
                    49 { ProcessSendCmdCVARGet "$1,family" }
                    50 { ProcessSendCmdCVARGet "$1,family" }
                    51 { ProcessSendCmdCVARGet "$1,size" }
                    52 { ProcessSendCmdCVARGet "$1,weight" }
                    53 { ProcessSendCmdCVARGet "$1,slant" }
                    54 { ProcessSendCmdCVARGet "$1,weight" }
                    55 { ProcessSendCmdCVARGet "$1,size" }
                    56 { ProcessSendCmdCVARGet "$1,weight" }
                    57 { ProcessSendCmdCVARGet "$1,slant" }
                    58 { ProcessSendCmdCVARGet "$1,weight" }
                    59 { set _ graph,title }
                    60 { set _ axis,title }
                    61 { set _ axis,title }
                    62 { set _ axis,font }
                    63 { set _ axis,font }
                    64 { set _ legend,font }
                    65 { set _ legend,title }
                    66 { ProcessSendCmdCVARGet graph,title }
                    67 { ProcessSendCmdCVARGet "graph,axis,$1,title" }
                    68 { ProcessSendCmdCVARGet "graph,axis,$1,title" }
                    69 { ProcessSendCmdCVARGet graph,legend,title }
                    70 { ProcessSendCmdCVARYesNo graph,ds,error }
                    71 { ProcessSendCmdCVARYesNo graph,ds,error,cap }
                    72 { ProcessSendCmdCVARGet graph,ds,error,color }
                    73 { ProcessSendCmdCVARGet graph,ds,error,width }
                    74 { ProcessSendCmdCVARGet graph,ds,shape,symbol }
                    75 { ProcessSendCmdCVARYesNo graph,ds,shape,fill }
                    76 { ProcessSendCmdCVARGet graph,ds,shape,color }
                }
                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 plotsend::yyerror {msg} {
     variable yycnt
     variable yy_current_buffer
     variable index_

     ParserError $msg $yycnt $yy_current_buffer $index_
}