summaryrefslogtreecommitdiffstats
path: root/Python/graminit.c
blob: 375a2390f71837831b14c227ad5802261a99675d (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
#include "pgenheaders.h"
#include "grammar.h"
static arc arcs_0_0[3] = {
	{2, 1},
	{3, 1},
	{4, 2},
};
static arc arcs_0_1[1] = {
	{0, 1},
};
static arc arcs_0_2[1] = {
	{2, 1},
};
static state states_0[3] = {
	{3, arcs_0_0},
	{1, arcs_0_1},
	{1, arcs_0_2},
};
static arc arcs_1_0[3] = {
	{2, 0},
	{6, 0},
	{7, 1},
};
static arc arcs_1_1[1] = {
	{0, 1},
};
static state states_1[2] = {
	{3, arcs_1_0},
	{1, arcs_1_1},
};
static arc arcs_2_0[1] = {
	{9, 1},
};
static arc arcs_2_1[1] = {
	{2, 2},
};
static arc arcs_2_2[1] = {
	{0, 2},
};
static state states_2[3] = {
	{1, arcs_2_0},
	{1, arcs_2_1},
	{1, arcs_2_2},
};
static arc arcs_3_0[1] = {
	{9, 1},
};
static arc arcs_3_1[1] = {
	{7, 2},
};
static arc arcs_3_2[1] = {
	{0, 2},
};
static state states_3[3] = {
	{1, arcs_3_0},
	{1, arcs_3_1},
	{1, arcs_3_2},
};
static arc arcs_4_0[1] = {
	{12, 1},
};
static arc arcs_4_1[1] = {
	{13, 2},
};
static arc arcs_4_2[1] = {
	{14, 3},
};
static arc arcs_4_3[1] = {
	{15, 4},
};
static arc arcs_4_4[1] = {
	{16, 5},
};
static arc arcs_4_5[1] = {
	{0, 5},
};
static state states_4[6] = {
	{1, arcs_4_0},
	{1, arcs_4_1},
	{1, arcs_4_2},
	{1, arcs_4_3},
	{1, arcs_4_4},
	{1, arcs_4_5},
};
static arc arcs_5_0[1] = {
	{17, 1},
};
static arc arcs_5_1[2] = {
	{18, 2},
	{19, 3},
};
static arc arcs_5_2[1] = {
	{19, 3},
};
static arc arcs_5_3[1] = {
	{0, 3},
};
static state states_5[4] = {
	{1, arcs_5_0},
	{2, arcs_5_1},
	{1, arcs_5_2},
	{1, arcs_5_3},
};
static arc arcs_6_0[1] = {
	{20, 1},
};
static arc arcs_6_1[2] = {
	{21, 0},
	{0, 1},
};
static state states_6[2] = {
	{1, arcs_6_0},
	{2, arcs_6_1},
};
static arc arcs_7_0[2] = {
	{13, 1},
	{17, 2},
};
static arc arcs_7_1[1] = {
	{0, 1},
};
static arc arcs_7_2[1] = {
	{18, 3},
};
static arc arcs_7_3[1] = {
	{19, 1},
};
static state states_7[4] = {
	{2, arcs_7_0},
	{1, arcs_7_1},
	{1, arcs_7_2},
	{1, arcs_7_3},
};
static arc arcs_8_0[2] = {
	{3, 1},
	{4, 1},
};
static arc arcs_8_1[1] = {
	{0, 1},
};
static state states_8[2] = {
	{2, arcs_8_0},
	{1, arcs_8_1},
};
static arc arcs_9_0[6] = {
	{22, 1},
	{23, 1},
	{24, 1},
	{25, 1},
	{26, 1},
	{27, 1},
};
static arc arcs_9_1[1] = {
	{0, 1},
};
static state states_9[2] = {
	{6, arcs_9_0},
	{1, arcs_9_1},
};
static arc arcs_10_0[1] = {
	{28, 1},
};
static arc arcs_10_1[2] = {
	{29, 0},
	{2, 2},
};
static arc arcs_10_2[1] = {
	{0, 2},
};
static state states_10[3] = {
	{1, arcs_10_0},
	{2, arcs_10_1},
	{1, arcs_10_2},
};
static arc arcs_11_0[1] = {
	{30, 1},
};
static arc arcs_11_1[2] = {
	{31, 2},
	{2, 3},
};
static arc arcs_11_2[2] = {
	{21, 1},
	{2, 3},
};
static arc arcs_11_3[1] = {
	{0, 3},
};
static state states_11[4] = {
	{1, arcs_11_0},
	{2, arcs_11_1},
	{2, arcs_11_2},
	{1, arcs_11_3},
};
static arc arcs_12_0[1] = {
	{32, 1},
};
static arc arcs_12_1[1] = {
	{28, 2},
};
static arc arcs_12_2[1] = {
	{2, 3},
};
static arc arcs_12_3[1] = {
	{0, 3},
};
static state states_12[4] = {
	{1, arcs_12_0},
	{1, arcs_12_1},
	{1, arcs_12_2},
	{1, arcs_12_3},
};
static arc arcs_13_0[1] = {
	{33, 1},
};
static arc arcs_13_1[1] = {
	{2, 2},
};
static arc arcs_13_2[1] = {
	{0, 2},
};
static state states_13[3] = {
	{1, arcs_13_0},
	{1, arcs_13_1},
	{1, arcs_13_2},
};
static arc arcs_14_0[3] = {
	{34, 1},
	{35, 1},
	{36, 1},
};
static arc arcs_14_1[1] = {
	{0, 1},
};
static state states_14[2] = {
	{3, arcs_14_0},
	{1, arcs_14_1},
};
static arc arcs_15_0[1] = {
	{37, 1},
};
static arc arcs_15_1[1] = {
	{2, 2},
};
static arc arcs_15_2[1] = {
	{0, 2},
};
static state states_15[3] = {
	{1, arcs_15_0},
	{1, arcs_15_1},
	{1, arcs_15_2},
};
static arc arcs_16_0[1] = {
	{38, 1},
};
static arc arcs_16_1[2] = {
	{9, 2},
	{2, 3},
};
static arc arcs_16_2[1] = {
	{2, 3},
};
static arc arcs_16_3[1] = {
	{0, 3},
};
static state states_16[4] = {
	{1, arcs_16_0},
	{2, arcs_16_1},
	{1, arcs_16_2},
	{1, arcs_16_3},
};
static arc arcs_17_0[1] = {
	{39, 1},
};
static arc arcs_17_1[1] = {
	{40, 2},
};
static arc arcs_17_2[2] = {
	{21, 3},
	{2, 4},
};
static arc arcs_17_3[1] = {
	{40, 5},
};
static arc arcs_17_4[1] = {
	{0, 4},
};
static arc arcs_17_5[1] = {
	{2, 4},
};
static state states_17[6] = {
	{1, arcs_17_0},
	{1, arcs_17_1},
	{2, arcs_17_2},
	{1, arcs_17_3},
	{1, arcs_17_4},
	{1, arcs_17_5},
};
static arc arcs_18_0[2] = {
	{41, 1},
	{42, 2},
};
static arc arcs_18_1[1] = {
	{13, 3},
};
static arc arcs_18_2[1] = {
	{13, 4},
};
static arc arcs_18_3[2] = {
	{21, 1},
	{2, 5},
};
static arc arcs_18_4[1] = {
	{41, 6},
};
static arc arcs_18_5[1] = {
	{0, 5},
};
static arc arcs_18_6[2] = {
	{43, 7},
	{13, 8},
};
static arc arcs_18_7[1] = {
	{2, 5},
};
static arc arcs_18_8[2] = {
	{21, 9},
	{2, 5},
};
static arc arcs_18_9[1] = {
	{13, 8},
};
static state states_18[10] = {
	{2, arcs_18_0},
	{1, arcs_18_1},
	{1, arcs_18_2},
	{2, arcs_18_3},
	{1, arcs_18_4},
	{1, arcs_18_5},
	{2, arcs_18_6},
	{1, arcs_18_7},
	{2, arcs_18_8},
	{1, arcs_18_9},
};
static arc arcs_19_0[6] = {
	{44, 1},
	{45, 1},
	{46, 1},
	{47, 1},
	{11, 1},
	{48, 1},
};
static arc arcs_19_1[1] = {
	{0, 1},
};
static state states_19[2] = {
	{6, arcs_19_0},
	{1, arcs_19_1},
};
static arc arcs_20_0[1] = {
	{49, 1},
};
static arc arcs_20_1[1] = {
	{31, 2},
};
static arc arcs_20_2[1] = {
	{15, 3},
};
static arc arcs_20_3[1] = {
	{16, 4},
};
static arc arcs_20_4[3] = {
	{50, 1},
	{51, 5},
	{0, 4},
};
static arc arcs_20_5[1] = {
	{15, 6},
};
static arc arcs_20_6[1] = {
	{16, 7},
};
static arc arcs_20_7[1] = {
	{0, 7},
};
static state states_20[8] = {
	{1, arcs_20_0},
	{1, arcs_20_1},
	{1, arcs_20_2},
	{1, arcs_20_3},
	{3, arcs_20_4},
	{1, arcs_20_5},
	{1, arcs_20_6},
	{1, arcs_20_7},
};
static arc arcs_21_0[1] = {
	{52, 1},
};
static arc arcs_21_1[1] = {
	{31, 2},
};
static arc arcs_21_2[1] = {
	{15, 3},
};
static arc arcs_21_3[1] = {
	{16, 4},
};
static arc arcs_21_4[2] = {
	{51, 5},
	{0, 4},
};
static arc arcs_21_5[1] = {
	{15, 6},
};
static arc arcs_21_6[1] = {
	{16, 7},
};
static arc arcs_21_7[1] = {
	{0, 7},
};
static state states_21[8] = {
	{1, arcs_21_0},
	{1, arcs_21_1},
	{1, arcs_21_2},
	{1, arcs_21_3},
	{2, arcs_21_4},
	{1, arcs_21_5},
	{1, arcs_21_6},
	{1, arcs_21_7},
};
static arc arcs_22_0[1] = {
	{53, 1},
};
static arc arcs_22_1[1] = {
	{28, 2},
};
static arc arcs_22_2[1] = {
	{54, 3},
};
static arc arcs_22_3[1] = {
	{28, 4},
};
static arc arcs_22_4[1] = {
	{15, 5},
};
static arc arcs_22_5[1] = {
	{16, 6},
};
static arc arcs_22_6[2] = {
	{51, 7},
	{0, 6},
};
static arc arcs_22_7[1] = {
	{15, 8},
};
static arc arcs_22_8[1] = {
	{16, 9},
};
static arc arcs_22_9[1] = {
	{0, 9},
};
static state states_22[10] = {
	{1, arcs_22_0},
	{1, arcs_22_1},
	{1, arcs_22_2},
	{1, arcs_22_3},
	{1, arcs_22_4},
	{1, arcs_22_5},
	{2, arcs_22_6},
	{1, arcs_22_7},
	{1, arcs_22_8},
	{1, arcs_22_9},
};
static arc arcs_23_0[1] = {
	{55, 1},
};
static arc arcs_23_1[1] = {
	{15, 2},
};
static arc arcs_23_2[1] = {
	{16, 3},
};
static arc arcs_23_3[3] = {
	{56, 1},
	{57, 4},
	{0, 3},
};
static arc arcs_23_4[1] = {
	{15, 5},
};
static arc arcs_23_5[1] = {
	{16, 6},
};
static arc arcs_23_6[1] = {
	{0, 6},
};
static state states_23[7] = {
	{1, arcs_23_0},
	{1, arcs_23_1},
	{1, arcs_23_2},
	{3, arcs_23_3},
	{1, arcs_23_4},
	{1, arcs_23_5},
	{1, arcs_23_6},
};
static arc arcs_24_0[1] = {
	{58, 1},
};
static arc arcs_24_1[2] = {
	{40, 2},
	{0, 1},
};
static arc arcs_24_2[2] = {
	{21, 3},
	{0, 2},
};
static arc arcs_24_3[1] = {
	{40, 4},
};
static arc arcs_24_4[1] = {
	{0, 4},
};
static state states_24[5] = {
	{1, arcs_24_0},
	{2, arcs_24_1},
	{2, arcs_24_2},
	{1, arcs_24_3},
	{1, arcs_24_4},
};
static arc arcs_25_0[2] = {
	{3, 1},
	{2, 2},
};
static arc arcs_25_1[1] = {
	{0, 1},
};
static arc arcs_25_2[1] = {
	{59, 3},
};
static arc arcs_25_3[2] = {
	{2, 3},
	{6, 4},
};
static arc arcs_25_4[3] = {
	{6, 4},
	{2, 4},
	{60, 1},
};
static state states_25[5] = {
	{2, arcs_25_0},
	{1, arcs_25_1},
	{1, arcs_25_2},
	{2, arcs_25_3},
	{3, arcs_25_4},
};
static arc arcs_26_0[1] = {
	{61, 1},
};
static arc arcs_26_1[2] = {
	{62, 0},
	{0, 1},
};
static state states_26[2] = {
	{1, arcs_26_0},
	{2, arcs_26_1},
};
static arc arcs_27_0[1] = {
	{63, 1},
};
static arc arcs_27_1[2] = {
	{64, 0},
	{0, 1},
};
static state states_27[2] = {
	{1, arcs_27_0},
	{2, arcs_27_1},
};
static arc arcs_28_0[2] = {
	{65, 1},
	{66, 2},
};
static arc arcs_28_1[1] = {
	{63, 2},
};
static arc arcs_28_2[1] = {
	{0, 2},
};
static state states_28[3] = {
	{2, arcs_28_0},
	{1, arcs_28_1},
	{1, arcs_28_2},
};
static arc arcs_29_0[1] = {
	{40, 1},
};
static arc arcs_29_1[2] = {
	{67, 0},
	{0, 1},
};
static state states_29[2] = {
	{1, arcs_29_0},
	{2, arcs_29_1},
};
static arc arcs_30_0[6] = {
	{68, 1},
	{69, 2},
	{29, 3},
	{54, 3},
	{65, 4},
	{70, 5},
};
static arc arcs_30_1[3] = {
	{29, 3},
	{69, 3},
	{0, 1},
};
static arc arcs_30_2[2] = {
	{29, 3},
	{0, 2},
};
static arc arcs_30_3[1] = {
	{0, 3},
};
static arc arcs_30_4[1] = {
	{54, 3},
};
static arc arcs_30_5[2] = {
	{65, 3},
	{0, 5},
};
static state states_30[6] = {
	{6, arcs_30_0},
	{3, arcs_30_1},
	{2, arcs_30_2},
	{1, arcs_30_3},
	{1, arcs_30_4},
	{2, arcs_30_5},
};
static arc arcs_31_0[1] = {
	{71, 1},
};
static arc arcs_31_1[3] = {
	{72, 0},
	{73, 0},
	{0, 1},
};
static state states_31[2] = {
	{1, arcs_31_0},
	{3, arcs_31_1},
};
static arc arcs_32_0[1] = {
	{74, 1},
};
static arc arcs_32_1[4] = {
	{43, 0},
	{75, 0},
	{76, 0},
	{0, 1},
};
static state states_32[2] = {
	{1, arcs_32_0},
	{4, arcs_32_1},
};
static arc arcs_33_0[3] = {
	{72, 1},
	{73, 1},
	{77, 2},
};
static arc arcs_33_1[1] = {
	{74, 3},
};
static arc arcs_33_2[2] = {
	{78, 2},
	{0, 2},
};
static arc arcs_33_3[1] = {
	{0, 3},
};
static state states_33[4] = {
	{3, arcs_33_0},
	{1, arcs_33_1},
	{2, arcs_33_2},
	{1, arcs_33_3},
};
static arc arcs_34_0[7] = {
	{17, 1},
	{79, 2},
	{81, 3},
	{83, 4},
	{13, 5},
	{84, 5},
	{85, 5},
};
static arc arcs_34_1[2] = {
	{9, 6},
	{19, 5},
};
static arc arcs_34_2[2] = {
	{9, 7},
	{80, 5},
};
static arc arcs_34_3[1] = {
	{82, 5},
};
static arc arcs_34_4[1] = {
	{9, 8},
};
static arc arcs_34_5[1] = {
	{0, 5},
};
static arc arcs_34_6[1] = {
	{19, 5},
};
static arc arcs_34_7[1] = {
	{80, 5},
};
static arc arcs_34_8[1] = {
	{83, 5},
};
static state states_34[9] = {
	{7, arcs_34_0},
	{2, arcs_34_1},
	{2, arcs_34_2},
	{1, arcs_34_3},
	{1, arcs_34_4},
	{1, arcs_34_5},
	{1, arcs_34_6},
	{1, arcs_34_7},
	{1, arcs_34_8},
};
static arc arcs_35_0[3] = {
	{17, 1},
	{79, 2},
	{87, 3},
};
static arc arcs_35_1[2] = {
	{9, 4},
	{19, 5},
};
static arc arcs_35_2[1] = {
	{86, 6},
};
static arc arcs_35_3[1] = {
	{13, 5},
};
static arc arcs_35_4[1] = {
	{19, 5},
};
static arc arcs_35_5[1] = {
	{0, 5},
};
static arc arcs_35_6[1] = {
	{80, 5},
};
static state states_35[7] = {
	{3, arcs_35_0},
	{2, arcs_35_1},
	{1, arcs_35_2},
	{1, arcs_35_3},
	{1, arcs_35_4},
	{1, arcs_35_5},
	{1, arcs_35_6},
};
static arc arcs_36_0[2] = {
	{40, 1},
	{15, 2},
};
static arc arcs_36_1[2] = {
	{15, 2},
	{0, 1},
};
static arc arcs_36_2[2] = {
	{40, 3},
	{0, 2},
};
static arc arcs_36_3[1] = {
	{0, 3},
};
static state states_36[4] = {
	{2, arcs_36_0},
	{2, arcs_36_1},
	{2, arcs_36_2},
	{1, arcs_36_3},
};
static arc arcs_37_0[1] = {
	{40, 1},
};
static arc arcs_37_1[2] = {
	{21, 2},
	{0, 1},
};
static arc arcs_37_2[2] = {
	{40, 1},
	{0, 2},
};
static state states_37[3] = {
	{1, arcs_37_0},
	{2, arcs_37_1},
	{2, arcs_37_2},
};
static arc arcs_38_0[1] = {
	{31, 1},
};
static arc arcs_38_1[2] = {
	{21, 2},
	{0, 1},
};
static arc arcs_38_2[2] = {
	{31, 1},
	{0, 2},
};
static state states_38[3] = {
	{1, arcs_38_0},
	{2, arcs_38_1},
	{2, arcs_38_2},
};
static arc arcs_39_0[1] = {
	{88, 1},
};
static arc arcs_39_1[1] = {
	{13, 2},
};
static arc arcs_39_2[1] = {
	{14, 3},
};
static arc arcs_39_3[2] = {
	{29, 4},
	{15, 5},
};
static arc arcs_39_4[1] = {
	{89, 6},
};
static arc arcs_39_5[1] = {
	{16, 7},
};
static arc arcs_39_6[1] = {
	{15, 5},
};
static arc arcs_39_7[1] = {
	{0, 7},
};
static state states_39[8] = {
	{1, arcs_39_0},
	{1, arcs_39_1},
	{1, arcs_39_2},
	{2, arcs_39_3},
	{1, arcs_39_4},
	{1, arcs_39_5},
	{1, arcs_39_6},
	{1, arcs_39_7},
};
static arc arcs_40_0[1] = {
	{77, 1},
};
static arc arcs_40_1[1] = {
	{90, 2},
};
static arc arcs_40_2[2] = {
	{21, 0},
	{0, 2},
};
static state states_40[3] = {
	{1, arcs_40_0},
	{1, arcs_40_1},
	{2, arcs_40_2},
};
static arc arcs_41_0[1] = {
	{17, 1},
};
static arc arcs_41_1[2] = {
	{9, 2},
	{19, 3},
};
static arc arcs_41_2[1] = {
	{19, 3},
};
static arc arcs_41_3[1] = {
	{0, 3},
};
static state states_41[4] = {
	{1, arcs_41_0},
	{2, arcs_41_1},
	{1, arcs_41_2},
	{1, arcs_41_3},
};
static dfa dfas[42] = {
	{256, "single_input", 0, 3, states_0,
	 "\004\060\002\100\343\006\262\000\000\203\072\001"},
	{257, "file_input", 0, 2, states_1,
	 "\204\060\002\100\343\006\262\000\000\203\072\001"},
	{258, "expr_input", 0, 3, states_2,
	 "\000\040\002\000\000\000\000\000\002\203\072\000"},
	{259, "eval_input", 0, 3, states_3,
	 "\000\040\002\000\000\000\000\000\002\203\072\000"},
	{260, "funcdef", 0, 6, states_4,
	 "\000\020\000\000\000\000\000\000\000\000\000\000"},
	{261, "parameters", 0, 4, states_5,
	 "\000\000\002\000\000\000\000\000\000\000\000\000"},
	{262, "fplist", 0, 2, states_6,
	 "\000\040\002\000\000\000\000\000\000\000\000\000"},
	{263, "fpdef", 0, 4, states_7,
	 "\000\040\002\000\000\000\000\000\000\000\000\000"},
	{264, "stmt", 0, 2, states_8,
	 "\000\060\002\100\343\006\262\000\000\203\072\001"},
	{265, "simple_stmt", 0, 2, states_9,
	 "\000\040\002\100\343\006\000\000\000\203\072\000"},
	{266, "expr_stmt", 0, 3, states_10,
	 "\000\040\002\000\000\000\000\000\000\203\072\000"},
	{267, "print_stmt", 0, 4, states_11,
	 "\000\000\000\100\000\000\000\000\000\000\000\000"},
	{268, "del_stmt", 0, 4, states_12,
	 "\000\000\000\000\001\000\000\000\000\000\000\000"},
	{269, "pass_stmt", 0, 3, states_13,
	 "\000\000\000\000\002\000\000\000\000\000\000\000"},
	{270, "flow_stmt", 0, 2, states_14,
	 "\000\000\000\000\340\000\000\000\000\000\000\000"},
	{271, "break_stmt", 0, 3, states_15,
	 "\000\000\000\000\040\000\000\000\000\000\000\000"},
	{272, "return_stmt", 0, 4, states_16,
	 "\000\000\000\000\100\000\000\000\000\000\000\000"},
	{273, "raise_stmt", 0, 6, states_17,
	 "\000\000\000\000\200\000\000\000\000\000\000\000"},
	{274, "import_stmt", 0, 10, states_18,
	 "\000\000\000\000\000\006\000\000\000\000\000\000"},
	{275, "compound_stmt", 0, 2, states_19,
	 "\000\020\000\000\000\000\262\000\000\000\000\001"},
	{276, "if_stmt", 0, 8, states_20,
	 "\000\000\000\000\000\000\002\000\000\000\000\000"},
	{277, "while_stmt", 0, 8, states_21,
	 "\000\000\000\000\000\000\020\000\000\000\000\000"},
	{278, "for_stmt", 0, 10, states_22,
	 "\000\000\000\000\000\000\040\000\000\000\000\000"},
	{279, "try_stmt", 0, 7, states_23,
	 "\000\000\000\000\000\000\200\000\000\000\000\000"},
	{280, "except_clause", 0, 5, states_24,
	 "\000\000\000\000\000\000\000\004\000\000\000\000"},
	{281, "suite", 0, 5, states_25,
	 "\004\040\002\100\343\006\000\000\000\203\072\000"},
	{282, "test", 0, 2, states_26,
	 "\000\040\002\000\000\000\000\000\002\203\072\000"},
	{283, "and_test", 0, 2, states_27,
	 "\000\040\002\000\000\000\000\000\002\203\072\000"},
	{284, "not_test", 0, 3, states_28,
	 "\000\040\002\000\000\000\000\000\002\203\072\000"},
	{285, "comparison", 0, 2, states_29,
	 "\000\040\002\000\000\000\000\000\000\203\072\000"},
	{286, "comp_op", 0, 6, states_30,
	 "\000\000\000\040\000\000\100\000\162\000\000\000"},
	{287, "expr", 0, 2, states_31,
	 "\000\040\002\000\000\000\000\000\000\203\072\000"},
	{288, "term", 0, 2, states_32,
	 "\000\040\002\000\000\000\000\000\000\203\072\000"},
	{289, "factor", 0, 4, states_33,
	 "\000\040\002\000\000\000\000\000\000\203\072\000"},
	{290, "atom", 0, 9, states_34,
	 "\000\040\002\000\000\000\000\000\000\200\072\000"},
	{291, "trailer", 0, 7, states_35,
	 "\000\000\002\000\000\000\000\000\000\200\200\000"},
	{292, "subscript", 0, 4, states_36,
	 "\000\240\002\000\000\000\000\000\000\203\072\000"},
	{293, "exprlist", 0, 3, states_37,
	 "\000\040\002\000\000\000\000\000\000\203\072\000"},
	{294, "testlist", 0, 3, states_38,
	 "\000\040\002\000\000\000\000\000\002\203\072\000"},
	{295, "classdef", 0, 8, states_39,
	 "\000\000\000\000\000\000\000\000\000\000\000\001"},
	{296, "baselist", 0, 3, states_40,
	 "\000\040\002\000\000\000\000\000\000\200\072\000"},
	{297, "arguments", 0, 4, states_41,
	 "\000\000\002\000\000\000\000\000\000\000\000\000"},
};
static label labels[91] = {
	{0, "EMPTY"},
	{256, 0},
	{4, 0},
	{265, 0},
	{275, 0},
	{257, 0},
	{264, 0},
	{0, 0},
	{258, 0},
	{294, 0},
	{259, 0},
	{260, 0},
	{1, "def"},
	{1, 0},
	{261, 0},
	{11, 0},
	{281, 0},
	{7, 0},
	{262, 0},
	{8, 0},
	{263, 0},
	{12, 0},
	{266, 0},
	{267, 0},
	{269, 0},
	{268, 0},
	{270, 0},
	{274, 0},
	{293, 0},
	{22, 0},
	{1, "print"},
	{282, 0},
	{1, "del"},
	{1, "pass"},
	{271, 0},
	{272, 0},
	{273, 0},
	{1, "break"},
	{1, "return"},
	{1, "raise"},
	{287, 0},
	{1, "import"},
	{1, "from"},
	{16, 0},
	{276, 0},
	{277, 0},
	{278, 0},
	{279, 0},
	{295, 0},
	{1, "if"},
	{1, "elif"},
	{1, "else"},
	{1, "while"},
	{1, "for"},
	{1, "in"},
	{1, "try"},
	{280, 0},
	{1, "finally"},
	{1, "except"},
	{5, 0},
	{6, 0},
	{283, 0},
	{1, "or"},
	{284, 0},
	{1, "and"},
	{1, "not"},
	{285, 0},
	{286, 0},
	{20, 0},
	{21, 0},
	{1, "is"},
	{288, 0},
	{14, 0},
	{15, 0},
	{289, 0},
	{17, 0},
	{24, 0},
	{290, 0},
	{291, 0},
	{9, 0},
	{10, 0},
	{26, 0},
	{27, 0},
	{25, 0},
	{2, 0},
	{3, 0},
	{292, 0},
	{23, 0},
	{1, "class"},
	{296, 0},
	{297, 0},
};
grammar gram = {
	42,
	dfas,
	{91, labels},
	256
};