mirror of
https://github.com/python/cpython.git
synced 2024-12-01 03:01:36 +01:00
1305 lines
21 KiB
C
1305 lines
21 KiB
C
#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[2] = {
|
|
{2, 1},
|
|
{7, 2},
|
|
};
|
|
static arc arcs_2_2[1] = {
|
|
{0, 2},
|
|
};
|
|
static state states_2[3] = {
|
|
{1, arcs_2_0},
|
|
{2, arcs_2_1},
|
|
{1, arcs_2_2},
|
|
};
|
|
static arc arcs_3_0[1] = {
|
|
{11, 1},
|
|
};
|
|
static arc arcs_3_1[1] = {
|
|
{12, 2},
|
|
};
|
|
static arc arcs_3_2[1] = {
|
|
{13, 3},
|
|
};
|
|
static arc arcs_3_3[1] = {
|
|
{14, 4},
|
|
};
|
|
static arc arcs_3_4[1] = {
|
|
{15, 5},
|
|
};
|
|
static arc arcs_3_5[1] = {
|
|
{0, 5},
|
|
};
|
|
static state states_3[6] = {
|
|
{1, arcs_3_0},
|
|
{1, arcs_3_1},
|
|
{1, arcs_3_2},
|
|
{1, arcs_3_3},
|
|
{1, arcs_3_4},
|
|
{1, arcs_3_5},
|
|
};
|
|
static arc arcs_4_0[1] = {
|
|
{16, 1},
|
|
};
|
|
static arc arcs_4_1[2] = {
|
|
{17, 2},
|
|
{18, 3},
|
|
};
|
|
static arc arcs_4_2[1] = {
|
|
{18, 3},
|
|
};
|
|
static arc arcs_4_3[1] = {
|
|
{0, 3},
|
|
};
|
|
static state states_4[4] = {
|
|
{1, arcs_4_0},
|
|
{2, arcs_4_1},
|
|
{1, arcs_4_2},
|
|
{1, arcs_4_3},
|
|
};
|
|
static arc arcs_5_0[2] = {
|
|
{19, 1},
|
|
{21, 2},
|
|
};
|
|
static arc arcs_5_1[2] = {
|
|
{20, 3},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_5_2[1] = {
|
|
{12, 4},
|
|
};
|
|
static arc arcs_5_3[3] = {
|
|
{19, 1},
|
|
{21, 2},
|
|
{0, 3},
|
|
};
|
|
static arc arcs_5_4[1] = {
|
|
{0, 4},
|
|
};
|
|
static state states_5[5] = {
|
|
{2, arcs_5_0},
|
|
{2, arcs_5_1},
|
|
{1, arcs_5_2},
|
|
{3, arcs_5_3},
|
|
{1, arcs_5_4},
|
|
};
|
|
static arc arcs_6_0[2] = {
|
|
{12, 1},
|
|
{16, 2},
|
|
};
|
|
static arc arcs_6_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static arc arcs_6_2[1] = {
|
|
{22, 3},
|
|
};
|
|
static arc arcs_6_3[1] = {
|
|
{18, 1},
|
|
};
|
|
static state states_6[4] = {
|
|
{2, arcs_6_0},
|
|
{1, arcs_6_1},
|
|
{1, arcs_6_2},
|
|
{1, arcs_6_3},
|
|
};
|
|
static arc arcs_7_0[1] = {
|
|
{19, 1},
|
|
};
|
|
static arc arcs_7_1[2] = {
|
|
{20, 2},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_7_2[2] = {
|
|
{19, 1},
|
|
{0, 2},
|
|
};
|
|
static state states_7[3] = {
|
|
{1, arcs_7_0},
|
|
{2, arcs_7_1},
|
|
{2, arcs_7_2},
|
|
};
|
|
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[1] = {
|
|
{23, 1},
|
|
};
|
|
static arc arcs_9_1[2] = {
|
|
{24, 2},
|
|
{2, 3},
|
|
};
|
|
static arc arcs_9_2[2] = {
|
|
{23, 1},
|
|
{2, 3},
|
|
};
|
|
static arc arcs_9_3[1] = {
|
|
{0, 3},
|
|
};
|
|
static state states_9[4] = {
|
|
{1, arcs_9_0},
|
|
{2, arcs_9_1},
|
|
{2, arcs_9_2},
|
|
{1, arcs_9_3},
|
|
};
|
|
static arc arcs_10_0[9] = {
|
|
{25, 1},
|
|
{26, 1},
|
|
{27, 1},
|
|
{28, 1},
|
|
{29, 1},
|
|
{30, 1},
|
|
{31, 1},
|
|
{32, 1},
|
|
{33, 1},
|
|
};
|
|
static arc arcs_10_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static state states_10[2] = {
|
|
{9, arcs_10_0},
|
|
{1, arcs_10_1},
|
|
};
|
|
static arc arcs_11_0[1] = {
|
|
{9, 1},
|
|
};
|
|
static arc arcs_11_1[2] = {
|
|
{34, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_11[2] = {
|
|
{1, arcs_11_0},
|
|
{2, arcs_11_1},
|
|
};
|
|
static arc arcs_12_0[1] = {
|
|
{35, 1},
|
|
};
|
|
static arc arcs_12_1[2] = {
|
|
{36, 2},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_12_2[2] = {
|
|
{20, 1},
|
|
{0, 2},
|
|
};
|
|
static state states_12[3] = {
|
|
{1, arcs_12_0},
|
|
{2, arcs_12_1},
|
|
{2, arcs_12_2},
|
|
};
|
|
static arc arcs_13_0[1] = {
|
|
{37, 1},
|
|
};
|
|
static arc arcs_13_1[1] = {
|
|
{38, 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[1] = {
|
|
{39, 1},
|
|
};
|
|
static arc arcs_14_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static state states_14[2] = {
|
|
{1, arcs_14_0},
|
|
{1, arcs_14_1},
|
|
};
|
|
static arc arcs_15_0[4] = {
|
|
{40, 1},
|
|
{41, 1},
|
|
{42, 1},
|
|
{43, 1},
|
|
};
|
|
static arc arcs_15_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static state states_15[2] = {
|
|
{4, arcs_15_0},
|
|
{1, arcs_15_1},
|
|
};
|
|
static arc arcs_16_0[1] = {
|
|
{44, 1},
|
|
};
|
|
static arc arcs_16_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static state states_16[2] = {
|
|
{1, arcs_16_0},
|
|
{1, arcs_16_1},
|
|
};
|
|
static arc arcs_17_0[1] = {
|
|
{45, 1},
|
|
};
|
|
static arc arcs_17_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static state states_17[2] = {
|
|
{1, arcs_17_0},
|
|
{1, arcs_17_1},
|
|
};
|
|
static arc arcs_18_0[1] = {
|
|
{46, 1},
|
|
};
|
|
static arc arcs_18_1[2] = {
|
|
{9, 2},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_18_2[1] = {
|
|
{0, 2},
|
|
};
|
|
static state states_18[3] = {
|
|
{1, arcs_18_0},
|
|
{2, arcs_18_1},
|
|
{1, arcs_18_2},
|
|
};
|
|
static arc arcs_19_0[1] = {
|
|
{47, 1},
|
|
};
|
|
static arc arcs_19_1[1] = {
|
|
{36, 2},
|
|
};
|
|
static arc arcs_19_2[2] = {
|
|
{20, 3},
|
|
{0, 2},
|
|
};
|
|
static arc arcs_19_3[1] = {
|
|
{36, 4},
|
|
};
|
|
static arc arcs_19_4[1] = {
|
|
{0, 4},
|
|
};
|
|
static state states_19[5] = {
|
|
{1, arcs_19_0},
|
|
{1, arcs_19_1},
|
|
{2, arcs_19_2},
|
|
{1, arcs_19_3},
|
|
{1, arcs_19_4},
|
|
};
|
|
static arc arcs_20_0[2] = {
|
|
{48, 1},
|
|
{49, 2},
|
|
};
|
|
static arc arcs_20_1[1] = {
|
|
{12, 3},
|
|
};
|
|
static arc arcs_20_2[1] = {
|
|
{12, 4},
|
|
};
|
|
static arc arcs_20_3[2] = {
|
|
{20, 1},
|
|
{0, 3},
|
|
};
|
|
static arc arcs_20_4[1] = {
|
|
{48, 5},
|
|
};
|
|
static arc arcs_20_5[2] = {
|
|
{21, 6},
|
|
{12, 7},
|
|
};
|
|
static arc arcs_20_6[1] = {
|
|
{0, 6},
|
|
};
|
|
static arc arcs_20_7[2] = {
|
|
{20, 8},
|
|
{0, 7},
|
|
};
|
|
static arc arcs_20_8[1] = {
|
|
{12, 7},
|
|
};
|
|
static state states_20[9] = {
|
|
{2, arcs_20_0},
|
|
{1, arcs_20_1},
|
|
{1, arcs_20_2},
|
|
{2, arcs_20_3},
|
|
{1, arcs_20_4},
|
|
{2, arcs_20_5},
|
|
{1, arcs_20_6},
|
|
{2, arcs_20_7},
|
|
{1, arcs_20_8},
|
|
};
|
|
static arc arcs_21_0[1] = {
|
|
{50, 1},
|
|
};
|
|
static arc arcs_21_1[1] = {
|
|
{12, 2},
|
|
};
|
|
static arc arcs_21_2[2] = {
|
|
{20, 1},
|
|
{0, 2},
|
|
};
|
|
static state states_21[3] = {
|
|
{1, arcs_21_0},
|
|
{1, arcs_21_1},
|
|
{2, arcs_21_2},
|
|
};
|
|
static arc arcs_22_0[1] = {
|
|
{51, 1},
|
|
};
|
|
static arc arcs_22_1[2] = {
|
|
{21, 2},
|
|
{12, 3},
|
|
};
|
|
static arc arcs_22_2[1] = {
|
|
{14, 4},
|
|
};
|
|
static arc arcs_22_3[2] = {
|
|
{20, 5},
|
|
{14, 4},
|
|
};
|
|
static arc arcs_22_4[1] = {
|
|
{52, 6},
|
|
};
|
|
static arc arcs_22_5[1] = {
|
|
{12, 3},
|
|
};
|
|
static arc arcs_22_6[2] = {
|
|
{20, 4},
|
|
{0, 6},
|
|
};
|
|
static state states_22[7] = {
|
|
{1, arcs_22_0},
|
|
{2, arcs_22_1},
|
|
{1, arcs_22_2},
|
|
{2, arcs_22_3},
|
|
{1, arcs_22_4},
|
|
{1, arcs_22_5},
|
|
{2, arcs_22_6},
|
|
};
|
|
static arc arcs_23_0[1] = {
|
|
{12, 1},
|
|
};
|
|
static arc arcs_23_1[2] = {
|
|
{12, 1},
|
|
{0, 1},
|
|
};
|
|
static state states_23[2] = {
|
|
{1, arcs_23_0},
|
|
{2, arcs_23_1},
|
|
};
|
|
static arc arcs_24_0[1] = {
|
|
{53, 1},
|
|
};
|
|
static arc arcs_24_1[1] = {
|
|
{54, 2},
|
|
};
|
|
static arc arcs_24_2[2] = {
|
|
{55, 3},
|
|
{0, 2},
|
|
};
|
|
static arc arcs_24_3[1] = {
|
|
{36, 4},
|
|
};
|
|
static arc arcs_24_4[2] = {
|
|
{20, 5},
|
|
{0, 4},
|
|
};
|
|
static arc arcs_24_5[1] = {
|
|
{36, 6},
|
|
};
|
|
static arc arcs_24_6[1] = {
|
|
{0, 6},
|
|
};
|
|
static state states_24[7] = {
|
|
{1, arcs_24_0},
|
|
{1, arcs_24_1},
|
|
{2, arcs_24_2},
|
|
{1, arcs_24_3},
|
|
{2, arcs_24_4},
|
|
{1, arcs_24_5},
|
|
{1, arcs_24_6},
|
|
};
|
|
static arc arcs_25_0[6] = {
|
|
{56, 1},
|
|
{57, 1},
|
|
{58, 1},
|
|
{59, 1},
|
|
{10, 1},
|
|
{60, 1},
|
|
};
|
|
static arc arcs_25_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static state states_25[2] = {
|
|
{6, arcs_25_0},
|
|
{1, arcs_25_1},
|
|
};
|
|
static arc arcs_26_0[1] = {
|
|
{61, 1},
|
|
};
|
|
static arc arcs_26_1[1] = {
|
|
{36, 2},
|
|
};
|
|
static arc arcs_26_2[1] = {
|
|
{14, 3},
|
|
};
|
|
static arc arcs_26_3[1] = {
|
|
{15, 4},
|
|
};
|
|
static arc arcs_26_4[3] = {
|
|
{62, 1},
|
|
{63, 5},
|
|
{0, 4},
|
|
};
|
|
static arc arcs_26_5[1] = {
|
|
{14, 6},
|
|
};
|
|
static arc arcs_26_6[1] = {
|
|
{15, 7},
|
|
};
|
|
static arc arcs_26_7[1] = {
|
|
{0, 7},
|
|
};
|
|
static state states_26[8] = {
|
|
{1, arcs_26_0},
|
|
{1, arcs_26_1},
|
|
{1, arcs_26_2},
|
|
{1, arcs_26_3},
|
|
{3, arcs_26_4},
|
|
{1, arcs_26_5},
|
|
{1, arcs_26_6},
|
|
{1, arcs_26_7},
|
|
};
|
|
static arc arcs_27_0[1] = {
|
|
{64, 1},
|
|
};
|
|
static arc arcs_27_1[1] = {
|
|
{36, 2},
|
|
};
|
|
static arc arcs_27_2[1] = {
|
|
{14, 3},
|
|
};
|
|
static arc arcs_27_3[1] = {
|
|
{15, 4},
|
|
};
|
|
static arc arcs_27_4[2] = {
|
|
{63, 5},
|
|
{0, 4},
|
|
};
|
|
static arc arcs_27_5[1] = {
|
|
{14, 6},
|
|
};
|
|
static arc arcs_27_6[1] = {
|
|
{15, 7},
|
|
};
|
|
static arc arcs_27_7[1] = {
|
|
{0, 7},
|
|
};
|
|
static state states_27[8] = {
|
|
{1, arcs_27_0},
|
|
{1, arcs_27_1},
|
|
{1, arcs_27_2},
|
|
{1, arcs_27_3},
|
|
{2, arcs_27_4},
|
|
{1, arcs_27_5},
|
|
{1, arcs_27_6},
|
|
{1, arcs_27_7},
|
|
};
|
|
static arc arcs_28_0[1] = {
|
|
{65, 1},
|
|
};
|
|
static arc arcs_28_1[1] = {
|
|
{38, 2},
|
|
};
|
|
static arc arcs_28_2[1] = {
|
|
{55, 3},
|
|
};
|
|
static arc arcs_28_3[1] = {
|
|
{9, 4},
|
|
};
|
|
static arc arcs_28_4[1] = {
|
|
{14, 5},
|
|
};
|
|
static arc arcs_28_5[1] = {
|
|
{15, 6},
|
|
};
|
|
static arc arcs_28_6[2] = {
|
|
{63, 7},
|
|
{0, 6},
|
|
};
|
|
static arc arcs_28_7[1] = {
|
|
{14, 8},
|
|
};
|
|
static arc arcs_28_8[1] = {
|
|
{15, 9},
|
|
};
|
|
static arc arcs_28_9[1] = {
|
|
{0, 9},
|
|
};
|
|
static state states_28[10] = {
|
|
{1, arcs_28_0},
|
|
{1, arcs_28_1},
|
|
{1, arcs_28_2},
|
|
{1, arcs_28_3},
|
|
{1, arcs_28_4},
|
|
{1, arcs_28_5},
|
|
{2, arcs_28_6},
|
|
{1, arcs_28_7},
|
|
{1, arcs_28_8},
|
|
{1, arcs_28_9},
|
|
};
|
|
static arc arcs_29_0[1] = {
|
|
{66, 1},
|
|
};
|
|
static arc arcs_29_1[1] = {
|
|
{14, 2},
|
|
};
|
|
static arc arcs_29_2[1] = {
|
|
{15, 3},
|
|
};
|
|
static arc arcs_29_3[2] = {
|
|
{67, 4},
|
|
{68, 5},
|
|
};
|
|
static arc arcs_29_4[1] = {
|
|
{14, 6},
|
|
};
|
|
static arc arcs_29_5[1] = {
|
|
{14, 7},
|
|
};
|
|
static arc arcs_29_6[1] = {
|
|
{15, 8},
|
|
};
|
|
static arc arcs_29_7[1] = {
|
|
{15, 9},
|
|
};
|
|
static arc arcs_29_8[2] = {
|
|
{67, 4},
|
|
{0, 8},
|
|
};
|
|
static arc arcs_29_9[1] = {
|
|
{0, 9},
|
|
};
|
|
static state states_29[10] = {
|
|
{1, arcs_29_0},
|
|
{1, arcs_29_1},
|
|
{1, arcs_29_2},
|
|
{2, arcs_29_3},
|
|
{1, arcs_29_4},
|
|
{1, arcs_29_5},
|
|
{1, arcs_29_6},
|
|
{1, arcs_29_7},
|
|
{2, arcs_29_8},
|
|
{1, arcs_29_9},
|
|
};
|
|
static arc arcs_30_0[1] = {
|
|
{69, 1},
|
|
};
|
|
static arc arcs_30_1[2] = {
|
|
{36, 2},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_30_2[2] = {
|
|
{20, 3},
|
|
{0, 2},
|
|
};
|
|
static arc arcs_30_3[1] = {
|
|
{36, 4},
|
|
};
|
|
static arc arcs_30_4[1] = {
|
|
{0, 4},
|
|
};
|
|
static state states_30[5] = {
|
|
{1, arcs_30_0},
|
|
{2, arcs_30_1},
|
|
{2, arcs_30_2},
|
|
{1, arcs_30_3},
|
|
{1, arcs_30_4},
|
|
};
|
|
static arc arcs_31_0[2] = {
|
|
{3, 1},
|
|
{2, 2},
|
|
};
|
|
static arc arcs_31_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static arc arcs_31_2[1] = {
|
|
{70, 3},
|
|
};
|
|
static arc arcs_31_3[1] = {
|
|
{6, 4},
|
|
};
|
|
static arc arcs_31_4[2] = {
|
|
{6, 4},
|
|
{71, 1},
|
|
};
|
|
static state states_31[5] = {
|
|
{2, arcs_31_0},
|
|
{1, arcs_31_1},
|
|
{1, arcs_31_2},
|
|
{1, arcs_31_3},
|
|
{2, arcs_31_4},
|
|
};
|
|
static arc arcs_32_0[2] = {
|
|
{72, 1},
|
|
{74, 2},
|
|
};
|
|
static arc arcs_32_1[2] = {
|
|
{73, 3},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_32_2[1] = {
|
|
{0, 2},
|
|
};
|
|
static arc arcs_32_3[1] = {
|
|
{72, 1},
|
|
};
|
|
static state states_32[4] = {
|
|
{2, arcs_32_0},
|
|
{2, arcs_32_1},
|
|
{1, arcs_32_2},
|
|
{1, arcs_32_3},
|
|
};
|
|
static arc arcs_33_0[1] = {
|
|
{75, 1},
|
|
};
|
|
static arc arcs_33_1[2] = {
|
|
{76, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_33[2] = {
|
|
{1, arcs_33_0},
|
|
{2, arcs_33_1},
|
|
};
|
|
static arc arcs_34_0[2] = {
|
|
{77, 1},
|
|
{78, 2},
|
|
};
|
|
static arc arcs_34_1[1] = {
|
|
{75, 2},
|
|
};
|
|
static arc arcs_34_2[1] = {
|
|
{0, 2},
|
|
};
|
|
static state states_34[3] = {
|
|
{2, arcs_34_0},
|
|
{1, arcs_34_1},
|
|
{1, arcs_34_2},
|
|
};
|
|
static arc arcs_35_0[1] = {
|
|
{54, 1},
|
|
};
|
|
static arc arcs_35_1[2] = {
|
|
{79, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_35[2] = {
|
|
{1, arcs_35_0},
|
|
{2, arcs_35_1},
|
|
};
|
|
static arc arcs_36_0[10] = {
|
|
{80, 1},
|
|
{81, 1},
|
|
{82, 1},
|
|
{83, 1},
|
|
{84, 1},
|
|
{85, 1},
|
|
{86, 1},
|
|
{55, 1},
|
|
{77, 2},
|
|
{87, 3},
|
|
};
|
|
static arc arcs_36_1[1] = {
|
|
{0, 1},
|
|
};
|
|
static arc arcs_36_2[1] = {
|
|
{55, 1},
|
|
};
|
|
static arc arcs_36_3[2] = {
|
|
{77, 1},
|
|
{0, 3},
|
|
};
|
|
static state states_36[4] = {
|
|
{10, arcs_36_0},
|
|
{1, arcs_36_1},
|
|
{1, arcs_36_2},
|
|
{2, arcs_36_3},
|
|
};
|
|
static arc arcs_37_0[1] = {
|
|
{88, 1},
|
|
};
|
|
static arc arcs_37_1[2] = {
|
|
{89, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_37[2] = {
|
|
{1, arcs_37_0},
|
|
{2, arcs_37_1},
|
|
};
|
|
static arc arcs_38_0[1] = {
|
|
{90, 1},
|
|
};
|
|
static arc arcs_38_1[2] = {
|
|
{91, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_38[2] = {
|
|
{1, arcs_38_0},
|
|
{2, arcs_38_1},
|
|
};
|
|
static arc arcs_39_0[1] = {
|
|
{92, 1},
|
|
};
|
|
static arc arcs_39_1[2] = {
|
|
{93, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_39[2] = {
|
|
{1, arcs_39_0},
|
|
{2, arcs_39_1},
|
|
};
|
|
static arc arcs_40_0[1] = {
|
|
{94, 1},
|
|
};
|
|
static arc arcs_40_1[3] = {
|
|
{95, 0},
|
|
{96, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_40[2] = {
|
|
{1, arcs_40_0},
|
|
{3, arcs_40_1},
|
|
};
|
|
static arc arcs_41_0[1] = {
|
|
{97, 1},
|
|
};
|
|
static arc arcs_41_1[3] = {
|
|
{98, 0},
|
|
{99, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_41[2] = {
|
|
{1, arcs_41_0},
|
|
{3, arcs_41_1},
|
|
};
|
|
static arc arcs_42_0[1] = {
|
|
{100, 1},
|
|
};
|
|
static arc arcs_42_1[4] = {
|
|
{21, 0},
|
|
{101, 0},
|
|
{102, 0},
|
|
{0, 1},
|
|
};
|
|
static state states_42[2] = {
|
|
{1, arcs_42_0},
|
|
{4, arcs_42_1},
|
|
};
|
|
static arc arcs_43_0[4] = {
|
|
{98, 1},
|
|
{99, 1},
|
|
{103, 1},
|
|
{104, 2},
|
|
};
|
|
static arc arcs_43_1[1] = {
|
|
{100, 3},
|
|
};
|
|
static arc arcs_43_2[2] = {
|
|
{105, 2},
|
|
{0, 2},
|
|
};
|
|
static arc arcs_43_3[1] = {
|
|
{0, 3},
|
|
};
|
|
static state states_43[4] = {
|
|
{4, arcs_43_0},
|
|
{1, arcs_43_1},
|
|
{2, arcs_43_2},
|
|
{1, arcs_43_3},
|
|
};
|
|
static arc arcs_44_0[7] = {
|
|
{16, 1},
|
|
{106, 2},
|
|
{108, 3},
|
|
{111, 4},
|
|
{12, 5},
|
|
{112, 5},
|
|
{113, 5},
|
|
};
|
|
static arc arcs_44_1[2] = {
|
|
{9, 6},
|
|
{18, 5},
|
|
};
|
|
static arc arcs_44_2[2] = {
|
|
{9, 7},
|
|
{107, 5},
|
|
};
|
|
static arc arcs_44_3[2] = {
|
|
{109, 8},
|
|
{110, 5},
|
|
};
|
|
static arc arcs_44_4[1] = {
|
|
{9, 9},
|
|
};
|
|
static arc arcs_44_5[1] = {
|
|
{0, 5},
|
|
};
|
|
static arc arcs_44_6[1] = {
|
|
{18, 5},
|
|
};
|
|
static arc arcs_44_7[1] = {
|
|
{107, 5},
|
|
};
|
|
static arc arcs_44_8[1] = {
|
|
{110, 5},
|
|
};
|
|
static arc arcs_44_9[1] = {
|
|
{111, 5},
|
|
};
|
|
static state states_44[10] = {
|
|
{7, arcs_44_0},
|
|
{2, arcs_44_1},
|
|
{2, arcs_44_2},
|
|
{2, arcs_44_3},
|
|
{1, arcs_44_4},
|
|
{1, arcs_44_5},
|
|
{1, arcs_44_6},
|
|
{1, arcs_44_7},
|
|
{1, arcs_44_8},
|
|
{1, arcs_44_9},
|
|
};
|
|
static arc arcs_45_0[1] = {
|
|
{114, 1},
|
|
};
|
|
static arc arcs_45_1[2] = {
|
|
{17, 2},
|
|
{14, 3},
|
|
};
|
|
static arc arcs_45_2[1] = {
|
|
{14, 3},
|
|
};
|
|
static arc arcs_45_3[1] = {
|
|
{36, 4},
|
|
};
|
|
static arc arcs_45_4[1] = {
|
|
{0, 4},
|
|
};
|
|
static state states_45[5] = {
|
|
{1, arcs_45_0},
|
|
{2, arcs_45_1},
|
|
{1, arcs_45_2},
|
|
{1, arcs_45_3},
|
|
{1, arcs_45_4},
|
|
};
|
|
static arc arcs_46_0[3] = {
|
|
{16, 1},
|
|
{106, 2},
|
|
{116, 3},
|
|
};
|
|
static arc arcs_46_1[2] = {
|
|
{9, 4},
|
|
{18, 5},
|
|
};
|
|
static arc arcs_46_2[1] = {
|
|
{115, 6},
|
|
};
|
|
static arc arcs_46_3[1] = {
|
|
{12, 5},
|
|
};
|
|
static arc arcs_46_4[1] = {
|
|
{18, 5},
|
|
};
|
|
static arc arcs_46_5[1] = {
|
|
{0, 5},
|
|
};
|
|
static arc arcs_46_6[1] = {
|
|
{107, 5},
|
|
};
|
|
static state states_46[7] = {
|
|
{3, arcs_46_0},
|
|
{2, arcs_46_1},
|
|
{1, arcs_46_2},
|
|
{1, arcs_46_3},
|
|
{1, arcs_46_4},
|
|
{1, arcs_46_5},
|
|
{1, arcs_46_6},
|
|
};
|
|
static arc arcs_47_0[2] = {
|
|
{36, 1},
|
|
{14, 2},
|
|
};
|
|
static arc arcs_47_1[2] = {
|
|
{14, 2},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_47_2[2] = {
|
|
{36, 3},
|
|
{0, 2},
|
|
};
|
|
static arc arcs_47_3[1] = {
|
|
{0, 3},
|
|
};
|
|
static state states_47[4] = {
|
|
{2, arcs_47_0},
|
|
{2, arcs_47_1},
|
|
{2, arcs_47_2},
|
|
{1, arcs_47_3},
|
|
};
|
|
static arc arcs_48_0[1] = {
|
|
{54, 1},
|
|
};
|
|
static arc arcs_48_1[2] = {
|
|
{20, 2},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_48_2[2] = {
|
|
{54, 1},
|
|
{0, 2},
|
|
};
|
|
static state states_48[3] = {
|
|
{1, arcs_48_0},
|
|
{2, arcs_48_1},
|
|
{2, arcs_48_2},
|
|
};
|
|
static arc arcs_49_0[1] = {
|
|
{36, 1},
|
|
};
|
|
static arc arcs_49_1[2] = {
|
|
{20, 2},
|
|
{0, 1},
|
|
};
|
|
static arc arcs_49_2[2] = {
|
|
{36, 1},
|
|
{0, 2},
|
|
};
|
|
static state states_49[3] = {
|
|
{1, arcs_49_0},
|
|
{2, arcs_49_1},
|
|
{2, arcs_49_2},
|
|
};
|
|
static arc arcs_50_0[1] = {
|
|
{36, 1},
|
|
};
|
|
static arc arcs_50_1[1] = {
|
|
{14, 2},
|
|
};
|
|
static arc arcs_50_2[1] = {
|
|
{36, 3},
|
|
};
|
|
static arc arcs_50_3[2] = {
|
|
{20, 4},
|
|
{0, 3},
|
|
};
|
|
static arc arcs_50_4[2] = {
|
|
{36, 1},
|
|
{0, 4},
|
|
};
|
|
static state states_50[5] = {
|
|
{1, arcs_50_0},
|
|
{1, arcs_50_1},
|
|
{1, arcs_50_2},
|
|
{2, arcs_50_3},
|
|
{2, arcs_50_4},
|
|
};
|
|
static arc arcs_51_0[1] = {
|
|
{117, 1},
|
|
};
|
|
static arc arcs_51_1[1] = {
|
|
{12, 2},
|
|
};
|
|
static arc arcs_51_2[2] = {
|
|
{16, 3},
|
|
{14, 4},
|
|
};
|
|
static arc arcs_51_3[1] = {
|
|
{9, 5},
|
|
};
|
|
static arc arcs_51_4[1] = {
|
|
{15, 6},
|
|
};
|
|
static arc arcs_51_5[1] = {
|
|
{18, 7},
|
|
};
|
|
static arc arcs_51_6[1] = {
|
|
{0, 6},
|
|
};
|
|
static arc arcs_51_7[1] = {
|
|
{14, 4},
|
|
};
|
|
static state states_51[8] = {
|
|
{1, arcs_51_0},
|
|
{1, arcs_51_1},
|
|
{2, arcs_51_2},
|
|
{1, arcs_51_3},
|
|
{1, arcs_51_4},
|
|
{1, arcs_51_5},
|
|
{1, arcs_51_6},
|
|
{1, arcs_51_7},
|
|
};
|
|
static dfa dfas[52] = {
|
|
{256, "single_input", 0, 3, states_0,
|
|
"\004\030\001\000\250\360\057\040\007\040\000\000\214\224\047"},
|
|
{257, "file_input", 0, 2, states_1,
|
|
"\204\030\001\000\250\360\057\040\007\040\000\000\214\224\047"},
|
|
{258, "eval_input", 0, 3, states_2,
|
|
"\000\020\001\000\000\000\000\000\000\040\000\000\214\224\007"},
|
|
{259, "funcdef", 0, 6, states_3,
|
|
"\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000"},
|
|
{260, "parameters", 0, 4, states_4,
|
|
"\000\000\001\000\000\000\000\000\000\000\000\000\000\000\000"},
|
|
{261, "varargslist", 0, 5, states_5,
|
|
"\000\020\041\000\000\000\000\000\000\000\000\000\000\000\000"},
|
|
{262, "fpdef", 0, 4, states_6,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\000\000\000"},
|
|
{263, "fplist", 0, 3, states_7,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\000\000\000"},
|
|
{264, "stmt", 0, 2, states_8,
|
|
"\000\030\001\000\250\360\057\040\007\040\000\000\214\224\047"},
|
|
{265, "simple_stmt", 0, 4, states_9,
|
|
"\000\020\001\000\250\360\057\000\000\040\000\000\214\224\007"},
|
|
{266, "small_stmt", 0, 2, states_10,
|
|
"\000\020\001\000\250\360\057\000\000\040\000\000\214\224\007"},
|
|
{267, "expr_stmt", 0, 2, states_11,
|
|
"\000\020\001\000\000\000\000\000\000\040\000\000\214\224\007"},
|
|
{268, "print_stmt", 0, 3, states_12,
|
|
"\000\000\000\000\010\000\000\000\000\000\000\000\000\000\000"},
|
|
{269, "del_stmt", 0, 3, states_13,
|
|
"\000\000\000\000\040\000\000\000\000\000\000\000\000\000\000"},
|
|
{270, "pass_stmt", 0, 2, states_14,
|
|
"\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000"},
|
|
{271, "flow_stmt", 0, 2, states_15,
|
|
"\000\000\000\000\000\360\000\000\000\000\000\000\000\000\000"},
|
|
{272, "break_stmt", 0, 2, states_16,
|
|
"\000\000\000\000\000\020\000\000\000\000\000\000\000\000\000"},
|
|
{273, "continue_stmt", 0, 2, states_17,
|
|
"\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000"},
|
|
{274, "return_stmt", 0, 3, states_18,
|
|
"\000\000\000\000\000\100\000\000\000\000\000\000\000\000\000"},
|
|
{275, "raise_stmt", 0, 5, states_19,
|
|
"\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000"},
|
|
{276, "import_stmt", 0, 9, states_20,
|
|
"\000\000\000\000\000\000\003\000\000\000\000\000\000\000\000"},
|
|
{277, "global_stmt", 0, 3, states_21,
|
|
"\000\000\000\000\000\000\004\000\000\000\000\000\000\000\000"},
|
|
{278, "access_stmt", 0, 7, states_22,
|
|
"\000\000\000\000\000\000\010\000\000\000\000\000\000\000\000"},
|
|
{279, "accesstype", 0, 2, states_23,
|
|
"\000\020\000\000\000\000\000\000\000\000\000\000\000\000\000"},
|
|
{280, "exec_stmt", 0, 7, states_24,
|
|
"\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000"},
|
|
{281, "compound_stmt", 0, 2, states_25,
|
|
"\000\010\000\000\000\000\000\040\007\000\000\000\000\000\040"},
|
|
{282, "if_stmt", 0, 8, states_26,
|
|
"\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000"},
|
|
{283, "while_stmt", 0, 8, states_27,
|
|
"\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000"},
|
|
{284, "for_stmt", 0, 10, states_28,
|
|
"\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000"},
|
|
{285, "try_stmt", 0, 10, states_29,
|
|
"\000\000\000\000\000\000\000\000\004\000\000\000\000\000\000"},
|
|
{286, "except_clause", 0, 5, states_30,
|
|
"\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000"},
|
|
{287, "suite", 0, 5, states_31,
|
|
"\004\020\001\000\250\360\057\000\000\040\000\000\214\224\007"},
|
|
{288, "test", 0, 4, states_32,
|
|
"\000\020\001\000\000\000\000\000\000\040\000\000\214\224\007"},
|
|
{289, "and_test", 0, 2, states_33,
|
|
"\000\020\001\000\000\000\000\000\000\040\000\000\214\224\003"},
|
|
{290, "not_test", 0, 3, states_34,
|
|
"\000\020\001\000\000\000\000\000\000\040\000\000\214\224\003"},
|
|
{291, "comparison", 0, 2, states_35,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{292, "comp_op", 0, 4, states_36,
|
|
"\000\000\000\000\000\000\200\000\000\040\377\000\000\000\000"},
|
|
{293, "expr", 0, 2, states_37,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{294, "xor_expr", 0, 2, states_38,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{295, "and_expr", 0, 2, states_39,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{296, "shift_expr", 0, 2, states_40,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{297, "arith_expr", 0, 2, states_41,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{298, "term", 0, 2, states_42,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{299, "factor", 0, 4, states_43,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{300, "atom", 0, 10, states_44,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\000\224\003"},
|
|
{301, "lambdef", 0, 5, states_45,
|
|
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\004"},
|
|
{302, "trailer", 0, 7, states_46,
|
|
"\000\000\001\000\000\000\000\000\000\000\000\000\000\004\020"},
|
|
{303, "subscript", 0, 4, states_47,
|
|
"\000\120\001\000\000\000\000\000\000\040\000\000\214\224\007"},
|
|
{304, "exprlist", 0, 3, states_48,
|
|
"\000\020\001\000\000\000\000\000\000\000\000\000\214\224\003"},
|
|
{305, "testlist", 0, 3, states_49,
|
|
"\000\020\001\000\000\000\000\000\000\040\000\000\214\224\007"},
|
|
{306, "dictmaker", 0, 5, states_50,
|
|
"\000\020\001\000\000\000\000\000\000\040\000\000\214\224\007"},
|
|
{307, "classdef", 0, 8, states_51,
|
|
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\040"},
|
|
};
|
|
static label labels[118] = {
|
|
{0, "EMPTY"},
|
|
{256, 0},
|
|
{4, 0},
|
|
{265, 0},
|
|
{281, 0},
|
|
{257, 0},
|
|
{264, 0},
|
|
{0, 0},
|
|
{258, 0},
|
|
{305, 0},
|
|
{259, 0},
|
|
{1, "def"},
|
|
{1, 0},
|
|
{260, 0},
|
|
{11, 0},
|
|
{287, 0},
|
|
{7, 0},
|
|
{261, 0},
|
|
{8, 0},
|
|
{262, 0},
|
|
{12, 0},
|
|
{16, 0},
|
|
{263, 0},
|
|
{266, 0},
|
|
{13, 0},
|
|
{267, 0},
|
|
{268, 0},
|
|
{269, 0},
|
|
{270, 0},
|
|
{271, 0},
|
|
{276, 0},
|
|
{277, 0},
|
|
{278, 0},
|
|
{280, 0},
|
|
{22, 0},
|
|
{1, "print"},
|
|
{288, 0},
|
|
{1, "del"},
|
|
{304, 0},
|
|
{1, "pass"},
|
|
{272, 0},
|
|
{273, 0},
|
|
{274, 0},
|
|
{275, 0},
|
|
{1, "break"},
|
|
{1, "continue"},
|
|
{1, "return"},
|
|
{1, "raise"},
|
|
{1, "import"},
|
|
{1, "from"},
|
|
{1, "global"},
|
|
{1, "access"},
|
|
{279, 0},
|
|
{1, "exec"},
|
|
{293, 0},
|
|
{1, "in"},
|
|
{282, 0},
|
|
{283, 0},
|
|
{284, 0},
|
|
{285, 0},
|
|
{307, 0},
|
|
{1, "if"},
|
|
{1, "elif"},
|
|
{1, "else"},
|
|
{1, "while"},
|
|
{1, "for"},
|
|
{1, "try"},
|
|
{286, 0},
|
|
{1, "finally"},
|
|
{1, "except"},
|
|
{5, 0},
|
|
{6, 0},
|
|
{289, 0},
|
|
{1, "or"},
|
|
{301, 0},
|
|
{290, 0},
|
|
{1, "and"},
|
|
{1, "not"},
|
|
{291, 0},
|
|
{292, 0},
|
|
{20, 0},
|
|
{21, 0},
|
|
{28, 0},
|
|
{31, 0},
|
|
{30, 0},
|
|
{29, 0},
|
|
{29, 0},
|
|
{1, "is"},
|
|
{294, 0},
|
|
{18, 0},
|
|
{295, 0},
|
|
{33, 0},
|
|
{296, 0},
|
|
{19, 0},
|
|
{297, 0},
|
|
{34, 0},
|
|
{35, 0},
|
|
{298, 0},
|
|
{14, 0},
|
|
{15, 0},
|
|
{299, 0},
|
|
{17, 0},
|
|
{24, 0},
|
|
{32, 0},
|
|
{300, 0},
|
|
{302, 0},
|
|
{9, 0},
|
|
{10, 0},
|
|
{26, 0},
|
|
{306, 0},
|
|
{27, 0},
|
|
{25, 0},
|
|
{2, 0},
|
|
{3, 0},
|
|
{1, "lambda"},
|
|
{303, 0},
|
|
{23, 0},
|
|
{1, "class"},
|
|
};
|
|
grammar gram = {
|
|
52,
|
|
dfas,
|
|
{118, labels},
|
|
256
|
|
};
|