From beeda8a7ba6dcd01d9a70fcad4ca8d2ae7104bdc Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 12 Jan 1996 01:13:38 +0000 Subject: changes for power (**) operator --- Python/graminit.c | 684 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 359 insertions(+), 325 deletions(-) diff --git a/Python/graminit.c b/Python/graminit.c index 3ad2723..f8b76ac 100644 --- a/Python/graminit.c +++ b/Python/graminit.c @@ -88,58 +88,61 @@ static state states_4[4] = { {1, arcs_4_2}, {1, arcs_4_3}, }; -static arc arcs_5_0[2] = { +static arc arcs_5_0[3] = { {19, 1}, {23, 2}, + {24, 3}, }; static arc arcs_5_1[3] = { - {20, 3}, - {22, 4}, + {20, 4}, + {22, 5}, {0, 1}, }; static arc arcs_5_2[2] = { - {12, 5}, - {23, 6}, + {12, 6}, + {23, 3}, }; static arc arcs_5_3[1] = { - {21, 7}, + {12, 7}, +}; +static arc arcs_5_4[1] = { + {21, 8}, }; -static arc arcs_5_4[3] = { +static arc arcs_5_5[4] = { {19, 1}, {23, 2}, - {0, 4}, -}; -static arc arcs_5_5[2] = { - {22, 8}, + {24, 3}, {0, 5}, }; -static arc arcs_5_6[1] = { - {12, 9}, +static arc arcs_5_6[2] = { + {22, 9}, + {0, 6}, }; -static arc arcs_5_7[2] = { - {22, 4}, +static arc arcs_5_7[1] = { {0, 7}, }; -static arc arcs_5_8[1] = { - {23, 10}, +static arc arcs_5_8[2] = { + {22, 5}, + {0, 8}, }; -static arc arcs_5_9[1] = { - {0, 9}, +static arc arcs_5_9[2] = { + {24, 3}, + {23, 10}, }; static arc arcs_5_10[1] = { - {23, 6}, + {23, 3}, }; static state states_5[11] = { - {2, arcs_5_0}, + {3, arcs_5_0}, {3, arcs_5_1}, {2, arcs_5_2}, {1, arcs_5_3}, - {3, arcs_5_4}, - {2, arcs_5_5}, - {1, arcs_5_6}, - {2, arcs_5_7}, - {1, arcs_5_8}, - {1, arcs_5_9}, + {1, arcs_5_4}, + {4, arcs_5_5}, + {2, arcs_5_6}, + {1, arcs_5_7}, + {2, arcs_5_8}, + {2, arcs_5_9}, {1, arcs_5_10}, }; static arc arcs_6_0[2] = { @@ -150,7 +153,7 @@ static arc arcs_6_1[1] = { {0, 1}, }; static arc arcs_6_2[1] = { - {24, 3}, + {25, 3}, }; static arc arcs_6_3[1] = { {18, 1}, @@ -189,14 +192,14 @@ static state states_8[2] = { {1, arcs_8_1}, }; static arc arcs_9_0[1] = { - {25, 1}, + {26, 1}, }; static arc arcs_9_1[2] = { - {26, 2}, + {27, 2}, {2, 3}, }; static arc arcs_9_2[2] = { - {25, 1}, + {26, 1}, {2, 3}, }; static arc arcs_9_3[1] = { @@ -209,7 +212,6 @@ static state states_9[4] = { {1, arcs_9_3}, }; static arc arcs_10_0[9] = { - {27, 1}, {28, 1}, {29, 1}, {30, 1}, @@ -218,6 +220,7 @@ static arc arcs_10_0[9] = { {33, 1}, {34, 1}, {35, 1}, + {36, 1}, }; static arc arcs_10_1[1] = { {0, 1}, @@ -238,7 +241,7 @@ static state states_11[2] = { {2, arcs_11_1}, }; static arc arcs_12_0[1] = { - {36, 1}, + {37, 1}, }; static arc arcs_12_1[2] = { {21, 2}, @@ -254,10 +257,10 @@ static state states_12[3] = { {2, arcs_12_2}, }; static arc arcs_13_0[1] = { - {37, 1}, + {38, 1}, }; static arc arcs_13_1[1] = { - {38, 2}, + {39, 2}, }; static arc arcs_13_2[1] = { {0, 2}, @@ -268,7 +271,7 @@ static state states_13[3] = { {1, arcs_13_2}, }; static arc arcs_14_0[1] = { - {39, 1}, + {40, 1}, }; static arc arcs_14_1[1] = { {0, 1}, @@ -278,10 +281,10 @@ static state states_14[2] = { {1, arcs_14_1}, }; static arc arcs_15_0[4] = { - {40, 1}, {41, 1}, {42, 1}, {43, 1}, + {44, 1}, }; static arc arcs_15_1[1] = { {0, 1}, @@ -291,7 +294,7 @@ static state states_15[2] = { {1, arcs_15_1}, }; static arc arcs_16_0[1] = { - {44, 1}, + {45, 1}, }; static arc arcs_16_1[1] = { {0, 1}, @@ -301,7 +304,7 @@ static state states_16[2] = { {1, arcs_16_1}, }; static arc arcs_17_0[1] = { - {45, 1}, + {46, 1}, }; static arc arcs_17_1[1] = { {0, 1}, @@ -311,7 +314,7 @@ static state states_17[2] = { {1, arcs_17_1}, }; static arc arcs_18_0[1] = { - {46, 1}, + {47, 1}, }; static arc arcs_18_1[2] = { {9, 2}, @@ -326,7 +329,7 @@ static state states_18[3] = { {1, arcs_18_2}, }; static arc arcs_19_0[1] = { - {47, 1}, + {48, 1}, }; static arc arcs_19_1[1] = { {21, 2}, @@ -358,21 +361,21 @@ static state states_19[7] = { {1, arcs_19_6}, }; static arc arcs_20_0[2] = { - {48, 1}, - {50, 2}, + {49, 1}, + {51, 2}, }; static arc arcs_20_1[1] = { - {49, 3}, + {50, 3}, }; static arc arcs_20_2[1] = { - {49, 4}, + {50, 4}, }; static arc arcs_20_3[2] = { {22, 1}, {0, 3}, }; static arc arcs_20_4[1] = { - {48, 5}, + {49, 5}, }; static arc arcs_20_5[2] = { {23, 6}, @@ -403,7 +406,7 @@ static arc arcs_21_0[1] = { {12, 1}, }; static arc arcs_21_1[2] = { - {51, 0}, + {52, 0}, {0, 1}, }; static state states_21[2] = { @@ -411,7 +414,7 @@ static state states_21[2] = { {2, arcs_21_1}, }; static arc arcs_22_0[1] = { - {52, 1}, + {53, 1}, }; static arc arcs_22_1[1] = { {12, 2}, @@ -426,7 +429,7 @@ static state states_22[3] = { {2, arcs_22_2}, }; static arc arcs_23_0[1] = { - {53, 1}, + {54, 1}, }; static arc arcs_23_1[2] = { {23, 2}, @@ -440,7 +443,7 @@ static arc arcs_23_3[2] = { {14, 4}, }; static arc arcs_23_4[1] = { - {54, 6}, + {55, 6}, }; static arc arcs_23_5[1] = { {12, 3}, @@ -470,13 +473,13 @@ static state states_24[2] = { {2, arcs_24_1}, }; static arc arcs_25_0[1] = { - {55, 1}, + {56, 1}, }; static arc arcs_25_1[1] = { - {56, 2}, + {57, 2}, }; static arc arcs_25_2[2] = { - {57, 3}, + {58, 3}, {0, 2}, }; static arc arcs_25_3[1] = { @@ -502,12 +505,12 @@ static state states_25[7] = { {1, arcs_25_6}, }; static arc arcs_26_0[6] = { - {58, 1}, {59, 1}, {60, 1}, {61, 1}, - {10, 1}, {62, 1}, + {10, 1}, + {63, 1}, }; static arc arcs_26_1[1] = { {0, 1}, @@ -517,7 +520,7 @@ static state states_26[2] = { {1, arcs_26_1}, }; static arc arcs_27_0[1] = { - {63, 1}, + {64, 1}, }; static arc arcs_27_1[1] = { {21, 2}, @@ -529,8 +532,8 @@ static arc arcs_27_3[1] = { {15, 4}, }; static arc arcs_27_4[3] = { - {64, 1}, - {65, 5}, + {65, 1}, + {66, 5}, {0, 4}, }; static arc arcs_27_5[1] = { @@ -553,7 +556,7 @@ static state states_27[8] = { {1, arcs_27_7}, }; static arc arcs_28_0[1] = { - {66, 1}, + {67, 1}, }; static arc arcs_28_1[1] = { {21, 2}, @@ -565,7 +568,7 @@ static arc arcs_28_3[1] = { {15, 4}, }; static arc arcs_28_4[2] = { - {65, 5}, + {66, 5}, {0, 4}, }; static arc arcs_28_5[1] = { @@ -588,13 +591,13 @@ static state states_28[8] = { {1, arcs_28_7}, }; static arc arcs_29_0[1] = { - {67, 1}, + {68, 1}, }; static arc arcs_29_1[1] = { - {38, 2}, + {39, 2}, }; static arc arcs_29_2[1] = { - {57, 3}, + {58, 3}, }; static arc arcs_29_3[1] = { {9, 4}, @@ -606,7 +609,7 @@ static arc arcs_29_5[1] = { {15, 6}, }; static arc arcs_29_6[2] = { - {65, 7}, + {66, 7}, {0, 6}, }; static arc arcs_29_7[1] = { @@ -631,7 +634,7 @@ static state states_29[10] = { {1, arcs_29_9}, }; static arc arcs_30_0[1] = { - {68, 1}, + {69, 1}, }; static arc arcs_30_1[1] = { {14, 2}, @@ -640,8 +643,8 @@ static arc arcs_30_2[1] = { {15, 3}, }; static arc arcs_30_3[2] = { - {69, 4}, - {70, 5}, + {70, 4}, + {71, 5}, }; static arc arcs_30_4[1] = { {14, 6}, @@ -656,8 +659,8 @@ static arc arcs_30_7[1] = { {15, 9}, }; static arc arcs_30_8[3] = { - {69, 4}, - {65, 5}, + {70, 4}, + {66, 5}, {0, 8}, }; static arc arcs_30_9[1] = { @@ -676,7 +679,7 @@ static state states_30[10] = { {1, arcs_30_9}, }; static arc arcs_31_0[1] = { - {71, 1}, + {72, 1}, }; static arc arcs_31_1[2] = { {21, 2}, @@ -707,14 +710,14 @@ static arc arcs_32_1[1] = { {0, 1}, }; static arc arcs_32_2[1] = { - {72, 3}, + {73, 3}, }; static arc arcs_32_3[1] = { {6, 4}, }; static arc arcs_32_4[2] = { {6, 4}, - {73, 1}, + {74, 1}, }; static state states_32[5] = { {2, arcs_32_0}, @@ -724,18 +727,18 @@ static state states_32[5] = { {2, arcs_32_4}, }; static arc arcs_33_0[2] = { - {74, 1}, - {76, 2}, + {75, 1}, + {77, 2}, }; static arc arcs_33_1[2] = { - {75, 3}, + {76, 3}, {0, 1}, }; static arc arcs_33_2[1] = { {0, 2}, }; static arc arcs_33_3[1] = { - {74, 1}, + {75, 1}, }; static state states_33[4] = { {2, arcs_33_0}, @@ -744,10 +747,10 @@ static state states_33[4] = { {1, arcs_33_3}, }; static arc arcs_34_0[1] = { - {77, 1}, + {78, 1}, }; static arc arcs_34_1[2] = { - {78, 0}, + {79, 0}, {0, 1}, }; static state states_34[2] = { @@ -755,11 +758,11 @@ static state states_34[2] = { {2, arcs_34_1}, }; static arc arcs_35_0[2] = { - {79, 1}, - {80, 2}, + {80, 1}, + {81, 2}, }; static arc arcs_35_1[1] = { - {77, 2}, + {78, 2}, }; static arc arcs_35_2[1] = { {0, 2}, @@ -770,10 +773,10 @@ static state states_35[3] = { {1, arcs_35_2}, }; static arc arcs_36_0[1] = { - {56, 1}, + {57, 1}, }; static arc arcs_36_1[2] = { - {81, 0}, + {82, 0}, {0, 1}, }; static state states_36[2] = { @@ -781,25 +784,25 @@ static state states_36[2] = { {2, arcs_36_1}, }; static arc arcs_37_0[10] = { - {82, 1}, {83, 1}, {84, 1}, {85, 1}, {86, 1}, {87, 1}, {88, 1}, - {57, 1}, - {79, 2}, - {89, 3}, + {89, 1}, + {58, 1}, + {80, 2}, + {90, 3}, }; static arc arcs_37_1[1] = { {0, 1}, }; static arc arcs_37_2[1] = { - {57, 1}, + {58, 1}, }; static arc arcs_37_3[2] = { - {79, 1}, + {80, 1}, {0, 3}, }; static state states_37[4] = { @@ -809,10 +812,10 @@ static state states_37[4] = { {2, arcs_37_3}, }; static arc arcs_38_0[1] = { - {90, 1}, + {91, 1}, }; static arc arcs_38_1[2] = { - {91, 0}, + {92, 0}, {0, 1}, }; static state states_38[2] = { @@ -820,10 +823,10 @@ static state states_38[2] = { {2, arcs_38_1}, }; static arc arcs_39_0[1] = { - {92, 1}, + {93, 1}, }; static arc arcs_39_1[2] = { - {93, 0}, + {94, 0}, {0, 1}, }; static state states_39[2] = { @@ -831,10 +834,10 @@ static state states_39[2] = { {2, arcs_39_1}, }; static arc arcs_40_0[1] = { - {94, 1}, + {95, 1}, }; static arc arcs_40_1[2] = { - {95, 0}, + {96, 0}, {0, 1}, }; static state states_40[2] = { @@ -842,11 +845,11 @@ static state states_40[2] = { {2, arcs_40_1}, }; static arc arcs_41_0[1] = { - {96, 1}, + {97, 1}, }; static arc arcs_41_1[3] = { - {97, 0}, {98, 0}, + {99, 0}, {0, 1}, }; static state states_41[2] = { @@ -854,11 +857,11 @@ static state states_41[2] = { {3, arcs_41_1}, }; static arc arcs_42_0[1] = { - {99, 1}, + {100, 1}, }; static arc arcs_42_1[3] = { - {100, 0}, {101, 0}, + {102, 0}, {0, 1}, }; static state states_42[2] = { @@ -866,12 +869,12 @@ static state states_42[2] = { {3, arcs_42_1}, }; static arc arcs_43_0[1] = { - {102, 1}, + {103, 1}, }; static arc arcs_43_1[4] = { {23, 0}, - {103, 0}, {104, 0}, + {105, 0}, {0, 1}, }; static state states_43[2] = { @@ -879,185 +882,196 @@ static state states_43[2] = { {4, arcs_43_1}, }; static arc arcs_44_0[4] = { - {100, 1}, {101, 1}, - {105, 1}, - {106, 2}, + {102, 1}, + {106, 1}, + {107, 2}, }; static arc arcs_44_1[1] = { - {102, 3}, + {103, 2}, }; -static arc arcs_44_2[2] = { - {107, 2}, +static arc arcs_44_2[1] = { {0, 2}, }; -static arc arcs_44_3[1] = { - {0, 3}, -}; -static state states_44[4] = { +static state states_44[3] = { {4, arcs_44_0}, {1, arcs_44_1}, - {2, arcs_44_2}, - {1, arcs_44_3}, + {1, arcs_44_2}, +}; +static arc arcs_45_0[1] = { + {108, 1}, +}; +static arc arcs_45_1[3] = { + {109, 1}, + {24, 2}, + {0, 1}, +}; +static arc arcs_45_2[1] = { + {103, 3}, }; -static arc arcs_45_0[7] = { +static arc arcs_45_3[2] = { + {24, 2}, + {0, 3}, +}; +static state states_45[4] = { + {1, arcs_45_0}, + {3, arcs_45_1}, + {1, arcs_45_2}, + {2, arcs_45_3}, +}; +static arc arcs_46_0[7] = { {16, 1}, - {108, 2}, - {110, 3}, - {113, 4}, + {110, 2}, + {112, 3}, + {115, 4}, {12, 5}, - {114, 5}, - {115, 6}, + {116, 5}, + {117, 6}, }; -static arc arcs_45_1[2] = { +static arc arcs_46_1[2] = { {9, 7}, {18, 5}, }; -static arc arcs_45_2[2] = { +static arc arcs_46_2[2] = { {9, 8}, - {109, 5}, + {111, 5}, }; -static arc arcs_45_3[2] = { - {111, 9}, - {112, 5}, +static arc arcs_46_3[2] = { + {113, 9}, + {114, 5}, }; -static arc arcs_45_4[1] = { +static arc arcs_46_4[1] = { {9, 10}, }; -static arc arcs_45_5[1] = { +static arc arcs_46_5[1] = { {0, 5}, }; -static arc arcs_45_6[2] = { - {115, 6}, +static arc arcs_46_6[2] = { + {117, 6}, {0, 6}, }; -static arc arcs_45_7[1] = { +static arc arcs_46_7[1] = { {18, 5}, }; -static arc arcs_45_8[1] = { - {109, 5}, +static arc arcs_46_8[1] = { + {111, 5}, }; -static arc arcs_45_9[1] = { - {112, 5}, +static arc arcs_46_9[1] = { + {114, 5}, }; -static arc arcs_45_10[1] = { - {113, 5}, +static arc arcs_46_10[1] = { + {115, 5}, }; -static state states_45[11] = { - {7, arcs_45_0}, - {2, arcs_45_1}, - {2, arcs_45_2}, - {2, arcs_45_3}, - {1, arcs_45_4}, - {1, arcs_45_5}, - {2, arcs_45_6}, - {1, arcs_45_7}, - {1, arcs_45_8}, - {1, arcs_45_9}, - {1, arcs_45_10}, +static state states_46[11] = { + {7, arcs_46_0}, + {2, arcs_46_1}, + {2, arcs_46_2}, + {2, arcs_46_3}, + {1, arcs_46_4}, + {1, arcs_46_5}, + {2, arcs_46_6}, + {1, arcs_46_7}, + {1, arcs_46_8}, + {1, arcs_46_9}, + {1, arcs_46_10}, }; -static arc arcs_46_0[1] = { - {116, 1}, +static arc arcs_47_0[1] = { + {118, 1}, }; -static arc arcs_46_1[2] = { +static arc arcs_47_1[2] = { {17, 2}, {14, 3}, }; -static arc arcs_46_2[1] = { +static arc arcs_47_2[1] = { {14, 3}, }; -static arc arcs_46_3[1] = { +static arc arcs_47_3[1] = { {21, 4}, }; -static arc arcs_46_4[1] = { +static arc arcs_47_4[1] = { {0, 4}, }; -static state states_46[5] = { - {1, arcs_46_0}, - {2, arcs_46_1}, - {1, arcs_46_2}, - {1, arcs_46_3}, - {1, arcs_46_4}, +static state states_47[5] = { + {1, arcs_47_0}, + {2, arcs_47_1}, + {1, arcs_47_2}, + {1, arcs_47_3}, + {1, arcs_47_4}, }; -static arc arcs_47_0[3] = { +static arc arcs_48_0[3] = { {16, 1}, - {108, 2}, - {51, 3}, + {110, 2}, + {52, 3}, }; -static arc arcs_47_1[2] = { - {117, 4}, +static arc arcs_48_1[2] = { + {119, 4}, {18, 5}, }; -static arc arcs_47_2[1] = { - {118, 6}, +static arc arcs_48_2[1] = { + {120, 6}, }; -static arc arcs_47_3[1] = { +static arc arcs_48_3[1] = { {12, 5}, }; -static arc arcs_47_4[1] = { +static arc arcs_48_4[1] = { {18, 5}, }; -static arc arcs_47_5[1] = { +static arc arcs_48_5[1] = { {0, 5}, }; -static arc arcs_47_6[1] = { - {109, 5}, +static arc arcs_48_6[1] = { + {111, 5}, }; -static state states_47[7] = { - {3, arcs_47_0}, - {2, arcs_47_1}, - {1, arcs_47_2}, - {1, arcs_47_3}, - {1, arcs_47_4}, - {1, arcs_47_5}, - {1, arcs_47_6}, +static state states_48[7] = { + {3, arcs_48_0}, + {2, arcs_48_1}, + {1, arcs_48_2}, + {1, arcs_48_3}, + {1, arcs_48_4}, + {1, arcs_48_5}, + {1, arcs_48_6}, }; -static arc arcs_48_0[2] = { +static arc arcs_49_0[2] = { {21, 1}, {14, 2}, }; -static arc arcs_48_1[2] = { +static arc arcs_49_1[3] = { + {22, 3}, {14, 2}, {0, 1}, }; -static arc arcs_48_2[2] = { - {21, 3}, +static arc arcs_49_2[2] = { + {21, 4}, {0, 2}, }; -static arc arcs_48_3[1] = { +static arc arcs_49_3[2] = { + {21, 5}, {0, 3}, }; -static state states_48[4] = { - {2, arcs_48_0}, - {2, arcs_48_1}, - {2, arcs_48_2}, - {1, arcs_48_3}, -}; -static arc arcs_49_0[1] = { - {56, 1}, -}; -static arc arcs_49_1[2] = { - {22, 2}, - {0, 1}, +static arc arcs_49_4[1] = { + {0, 4}, }; -static arc arcs_49_2[2] = { - {56, 1}, - {0, 2}, +static arc arcs_49_5[2] = { + {22, 3}, + {0, 5}, }; -static state states_49[3] = { - {1, arcs_49_0}, - {2, arcs_49_1}, +static state states_49[6] = { + {2, arcs_49_0}, + {3, arcs_49_1}, {2, arcs_49_2}, + {2, arcs_49_3}, + {1, arcs_49_4}, + {2, arcs_49_5}, }; static arc arcs_50_0[1] = { - {21, 1}, + {57, 1}, }; static arc arcs_50_1[2] = { {22, 2}, {0, 1}, }; static arc arcs_50_2[2] = { - {21, 1}, + {57, 1}, {0, 2}, }; static state states_50[3] = { @@ -1068,210 +1082,228 @@ static state states_50[3] = { static arc arcs_51_0[1] = { {21, 1}, }; -static arc arcs_51_1[1] = { +static arc arcs_51_1[2] = { + {22, 2}, + {0, 1}, +}; +static arc arcs_51_2[2] = { + {21, 1}, + {0, 2}, +}; +static state states_51[3] = { + {1, arcs_51_0}, + {2, arcs_51_1}, + {2, arcs_51_2}, +}; +static arc arcs_52_0[1] = { + {21, 1}, +}; +static arc arcs_52_1[1] = { {14, 2}, }; -static arc arcs_51_2[1] = { +static arc arcs_52_2[1] = { {21, 3}, }; -static arc arcs_51_3[2] = { +static arc arcs_52_3[2] = { {22, 4}, {0, 3}, }; -static arc arcs_51_4[2] = { +static arc arcs_52_4[2] = { {21, 1}, {0, 4}, }; -static state states_51[5] = { - {1, arcs_51_0}, - {1, arcs_51_1}, - {1, arcs_51_2}, - {2, arcs_51_3}, - {2, arcs_51_4}, +static state states_52[5] = { + {1, arcs_52_0}, + {1, arcs_52_1}, + {1, arcs_52_2}, + {2, arcs_52_3}, + {2, arcs_52_4}, }; -static arc arcs_52_0[1] = { - {119, 1}, +static arc arcs_53_0[1] = { + {121, 1}, }; -static arc arcs_52_1[1] = { +static arc arcs_53_1[1] = { {12, 2}, }; -static arc arcs_52_2[2] = { +static arc arcs_53_2[2] = { {16, 3}, {14, 4}, }; -static arc arcs_52_3[1] = { +static arc arcs_53_3[1] = { {9, 5}, }; -static arc arcs_52_4[1] = { +static arc arcs_53_4[1] = { {15, 6}, }; -static arc arcs_52_5[1] = { +static arc arcs_53_5[1] = { {18, 7}, }; -static arc arcs_52_6[1] = { +static arc arcs_53_6[1] = { {0, 6}, }; -static arc arcs_52_7[1] = { +static arc arcs_53_7[1] = { {14, 4}, }; -static state states_52[8] = { - {1, arcs_52_0}, - {1, arcs_52_1}, - {2, arcs_52_2}, - {1, arcs_52_3}, - {1, arcs_52_4}, - {1, arcs_52_5}, - {1, arcs_52_6}, - {1, arcs_52_7}, +static state states_53[8] = { + {1, arcs_53_0}, + {1, arcs_53_1}, + {2, arcs_53_2}, + {1, arcs_53_3}, + {1, arcs_53_4}, + {1, arcs_53_5}, + {1, arcs_53_6}, + {1, arcs_53_7}, }; -static arc arcs_53_0[1] = { - {120, 1}, +static arc arcs_54_0[1] = { + {122, 1}, }; -static arc arcs_53_1[2] = { +static arc arcs_54_1[2] = { {22, 2}, {0, 1}, }; -static arc arcs_53_2[2] = { - {120, 1}, +static arc arcs_54_2[2] = { + {122, 1}, {0, 2}, }; -static state states_53[3] = { - {1, arcs_53_0}, - {2, arcs_53_1}, - {2, arcs_53_2}, +static state states_54[3] = { + {1, arcs_54_0}, + {2, arcs_54_1}, + {2, arcs_54_2}, }; -static arc arcs_54_0[1] = { +static arc arcs_55_0[1] = { {21, 1}, }; -static arc arcs_54_1[2] = { +static arc arcs_55_1[2] = { {20, 2}, {0, 1}, }; -static arc arcs_54_2[1] = { +static arc arcs_55_2[1] = { {21, 3}, }; -static arc arcs_54_3[1] = { +static arc arcs_55_3[1] = { {0, 3}, }; -static state states_54[4] = { - {1, arcs_54_0}, - {2, arcs_54_1}, - {1, arcs_54_2}, - {1, arcs_54_3}, +static state states_55[4] = { + {1, arcs_55_0}, + {2, arcs_55_1}, + {1, arcs_55_2}, + {1, arcs_55_3}, }; -static dfa dfas[55] = { +static dfa dfas[56] = { {256, "single_input", 0, 3, states_0, - "\004\030\001\000\260\360\265\200\034\200\000\000\060\122\236\000"}, + "\004\030\001\000\140\341\153\001\071\000\001\000\140\104\171\002"}, {257, "file_input", 0, 2, states_1, - "\204\030\001\000\260\360\265\200\034\200\000\000\060\122\236\000"}, + "\204\030\001\000\140\341\153\001\071\000\001\000\140\104\171\002"}, {258, "eval_input", 0, 3, states_2, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\036\000"}, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\171\000"}, {259, "funcdef", 0, 6, states_3, "\000\010\000\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\000"}, {261, "varargslist", 0, 11, states_5, - "\000\020\201\000\000\000\000\000\000\000\000\000\000\000\000\000"}, + "\000\020\201\001\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\000"}, {263, "fplist", 0, 3, states_7, "\000\020\001\000\000\000\000\000\000\000\000\000\000\000\000\000"}, {264, "stmt", 0, 2, states_8, - "\000\030\001\000\260\360\265\200\034\200\000\000\060\122\236\000"}, + "\000\030\001\000\140\341\153\001\071\000\001\000\140\104\171\002"}, {265, "simple_stmt", 0, 4, states_9, - "\000\020\001\000\260\360\265\000\000\200\000\000\060\122\036\000"}, + "\000\020\001\000\140\341\153\001\000\000\001\000\140\104\171\000"}, {266, "small_stmt", 0, 2, states_10, - "\000\020\001\000\260\360\265\000\000\200\000\000\060\122\036\000"}, + "\000\020\001\000\140\341\153\001\000\000\001\000\140\104\171\000"}, {267, "expr_stmt", 0, 2, states_11, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\036\000"}, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\171\000"}, {268, "print_stmt", 0, 3, states_12, - "\000\000\000\000\020\000\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\000"}, + {269, "del_stmt", 0, 3, states_13, + "\000\000\000\000\100\000\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\000"}, + "\000\000\000\000\000\001\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\000"}, + "\000\000\000\000\000\340\001\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\000"}, - {273, "continue_stmt", 0, 2, states_17, "\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000\000"}, - {274, "return_stmt", 0, 3, states_18, + {273, "continue_stmt", 0, 2, states_17, "\000\000\000\000\000\100\000\000\000\000\000\000\000\000\000\000"}, - {275, "raise_stmt", 0, 7, states_19, + {274, "return_stmt", 0, 3, states_18, "\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000"}, + {275, "raise_stmt", 0, 7, states_19, + "\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\000"}, {276, "import_stmt", 0, 9, states_20, - "\000\000\000\000\000\000\005\000\000\000\000\000\000\000\000\000"}, + "\000\000\000\000\000\000\012\000\000\000\000\000\000\000\000\000"}, {277, "dotted_name", 0, 2, states_21, "\000\020\000\000\000\000\000\000\000\000\000\000\000\000\000\000"}, {278, "global_stmt", 0, 3, states_22, - "\000\000\000\000\000\000\020\000\000\000\000\000\000\000\000\000"}, - {279, "access_stmt", 0, 7, states_23, "\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000"}, + {279, "access_stmt", 0, 7, states_23, + "\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\000"}, {280, "accesstype", 0, 2, states_24, "\000\020\000\000\000\000\000\000\000\000\000\000\000\000\000\000"}, {281, "exec_stmt", 0, 7, states_25, - "\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000"}, + "\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000"}, {282, "compound_stmt", 0, 2, states_26, - "\000\010\000\000\000\000\000\200\034\000\000\000\000\000\200\000"}, + "\000\010\000\000\000\000\000\000\071\000\000\000\000\000\000\002"}, {283, "if_stmt", 0, 8, states_27, - "\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000"}, + "\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000"}, {284, "while_stmt", 0, 8, states_28, - "\000\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000"}, - {285, "for_stmt", 0, 10, states_29, "\000\000\000\000\000\000\000\000\010\000\000\000\000\000\000\000"}, - {286, "try_stmt", 0, 10, states_30, + {285, "for_stmt", 0, 10, states_29, "\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000"}, + {286, "try_stmt", 0, 10, states_30, + "\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000"}, {287, "except_clause", 0, 5, states_31, - "\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000"}, + "\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000"}, {288, "suite", 0, 5, states_32, - "\004\020\001\000\260\360\265\000\000\200\000\000\060\122\036\000"}, + "\004\020\001\000\140\341\153\001\000\000\001\000\140\104\171\000"}, {289, "test", 0, 4, states_33, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\036\000"}, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\171\000"}, {290, "and_test", 0, 2, states_34, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\016\000"}, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\071\000"}, {291, "not_test", 0, 3, states_35, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\016\000"}, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\071\000"}, {292, "comparison", 0, 2, states_36, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, {293, "comp_op", 0, 4, states_37, - "\000\000\000\000\000\000\000\002\000\200\374\003\000\000\000\000"}, + "\000\000\000\000\000\000\000\004\000\000\371\007\000\000\000\000"}, {294, "expr", 0, 2, states_38, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, {295, "xor_expr", 0, 2, states_39, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, {296, "and_expr", 0, 2, states_40, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, {297, "shift_expr", 0, 2, states_41, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, {298, "arith_expr", 0, 2, states_42, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, {299, "term", 0, 2, states_43, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, - {300, "factor", 0, 4, states_44, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, - {301, "atom", 0, 11, states_45, - "\000\020\001\000\000\000\000\000\000\000\000\000\000\120\016\000"}, - {302, "lambdef", 0, 5, states_46, - "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\020\000"}, - {303, "trailer", 0, 7, states_47, - "\000\000\001\000\000\000\010\000\000\000\000\000\000\020\000\000"}, - {304, "subscript", 0, 4, states_48, - "\000\120\001\000\000\000\000\000\000\200\000\000\060\122\036\000"}, - {305, "exprlist", 0, 3, states_49, - "\000\020\001\000\000\000\000\000\000\000\000\000\060\122\016\000"}, - {306, "testlist", 0, 3, states_50, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\036\000"}, - {307, "dictmaker", 0, 5, states_51, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\036\000"}, - {308, "classdef", 0, 8, states_52, - "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\200\000"}, - {309, "arglist", 0, 3, states_53, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\036\000"}, - {310, "argument", 0, 4, states_54, - "\000\020\001\000\000\000\000\000\000\200\000\000\060\122\036\000"}, -}; -static label labels[121] = { + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, + {300, "factor", 0, 3, states_44, + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, + {301, "power", 0, 4, states_45, + "\000\020\001\000\000\000\000\000\000\000\000\000\000\100\071\000"}, + {302, "atom", 0, 11, states_46, + "\000\020\001\000\000\000\000\000\000\000\000\000\000\100\071\000"}, + {303, "lambdef", 0, 5, states_47, + "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\100\000"}, + {304, "trailer", 0, 7, states_48, + "\000\000\001\000\000\000\020\000\000\000\000\000\000\100\000\000"}, + {305, "subscript", 0, 6, states_49, + "\000\120\001\000\000\000\000\000\000\000\001\000\140\104\171\000"}, + {306, "exprlist", 0, 3, states_50, + "\000\020\001\000\000\000\000\000\000\000\000\000\140\104\071\000"}, + {307, "testlist", 0, 3, states_51, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\171\000"}, + {308, "dictmaker", 0, 5, states_52, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\171\000"}, + {309, "classdef", 0, 8, states_53, + "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\002"}, + {310, "arglist", 0, 3, states_54, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\171\000"}, + {311, "argument", 0, 4, states_55, + "\000\020\001\000\000\000\000\000\000\000\001\000\140\104\171\000"}, +}; +static label labels[123] = { {0, "EMPTY"}, {256, 0}, {4, 0}, @@ -1281,7 +1313,7 @@ static label labels[121] = { {264, 0}, {0, 0}, {258, 0}, - {306, 0}, + {307, 0}, {259, 0}, {1, "def"}, {1, 0}, @@ -1296,6 +1328,7 @@ static label labels[121] = { {289, 0}, {12, 0}, {16, 0}, + {36, 0}, {263, 0}, {266, 0}, {13, 0}, @@ -1310,7 +1343,7 @@ static label labels[121] = { {281, 0}, {1, "print"}, {1, "del"}, - {305, 0}, + {306, 0}, {1, "pass"}, {272, 0}, {273, 0}, @@ -1334,7 +1367,7 @@ static label labels[121] = { {284, 0}, {285, 0}, {286, 0}, - {308, 0}, + {309, 0}, {1, "if"}, {1, "elif"}, {1, "else"}, @@ -1348,7 +1381,7 @@ static label labels[121] = { {6, 0}, {290, 0}, {1, "or"}, - {302, 0}, + {303, 0}, {291, 0}, {1, "and"}, {1, "not"}, @@ -1379,24 +1412,25 @@ static label labels[121] = { {24, 0}, {32, 0}, {301, 0}, - {303, 0}, + {302, 0}, + {304, 0}, {9, 0}, {10, 0}, {26, 0}, - {307, 0}, + {308, 0}, {27, 0}, {25, 0}, {2, 0}, {3, 0}, {1, "lambda"}, - {309, 0}, - {304, 0}, - {1, "class"}, {310, 0}, + {305, 0}, + {1, "class"}, + {311, 0}, }; grammar gram = { - 55, + 56, dfas, - {121, labels}, + {123, labels}, 256 }; -- cgit v0.12