summaryrefslogtreecommitdiffstats
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-11 16:50:42 (GMT)
committerGuido van Rossum <guido@python.org>2007-05-11 16:50:42 (GMT)
commit0368b726a1859e3c063df5a93f19ccb4254be22a (patch)
tree4e65a593d48f9103facb47b741f8ed97d755286f /Python/graminit.c
parentbdde01168fc91d02a2d3bc8399255944fdfdd69f (diff)
downloadcpython-0368b726a1859e3c063df5a93f19ccb4254be22a.zip
cpython-0368b726a1859e3c063df5a93f19ccb4254be22a.tar.gz
cpython-0368b726a1859e3c063df5a93f19ccb4254be22a.tar.bz2
Merged revisions 55225-55227,55229-55269 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r55238 | guido.van.rossum | 2007-05-10 16:46:05 -0700 (Thu, 10 May 2007) | 9 lines Merged revisions 55227 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r55227 | guido.van.rossum | 2007-05-10 10:20:15 -0700 (Thu, 10 May 2007) | 2 lines Fix a bug in test_c_api() that caused a negative refcount. ........ ................ r55246 | neal.norwitz | 2007-05-11 00:01:52 -0700 (Fri, 11 May 2007) | 1 line Remove commands.getstatus() it is obsolete. ................ r55248 | neal.norwitz | 2007-05-11 00:29:05 -0700 (Fri, 11 May 2007) | 2 lines Remove bsddb185 support. ................ r55249 | neal.norwitz | 2007-05-11 00:29:50 -0700 (Fri, 11 May 2007) | 1 line Remove bsddb185 module too ................ r55250 | neal.norwitz | 2007-05-11 00:32:13 -0700 (Fri, 11 May 2007) | 1 line bsddb185: Gotta remove from the file checked in, not Setup ................ r55251 | neal.norwitz | 2007-05-11 00:53:26 -0700 (Fri, 11 May 2007) | 1 line Remove obsolete IRIX modules (as much as I could find, there is probably more) ................ r55252 | neal.norwitz | 2007-05-11 00:55:35 -0700 (Fri, 11 May 2007) | 1 line Remove SGI turd. ................ r55254 | georg.brandl | 2007-05-11 03:11:01 -0700 (Fri, 11 May 2007) | 2 lines Add a case for set comprehensions to the "cannot assign to" switch. ................ r55255 | georg.brandl | 2007-05-11 03:11:25 -0700 (Fri, 11 May 2007) | 2 lines Fix wrong imports. ................ r55261 | georg.brandl | 2007-05-11 07:37:48 -0700 (Fri, 11 May 2007) | 2 lines Remove removed tex files. ................ r55262 | georg.brandl | 2007-05-11 08:28:41 -0700 (Fri, 11 May 2007) | 2 lines Commit PEP 3132 implementation. ................ r55264 | georg.brandl | 2007-05-11 08:50:19 -0700 (Fri, 11 May 2007) | 2 lines Check in the inevitable AST version number and format Py_ssize_t with %zd. ................ r55265 | neal.norwitz | 2007-05-11 09:12:22 -0700 (Fri, 11 May 2007) | 1 line Remove mention of os.popen* and popen2.* since these will be removed. ................ r55266 | neal.norwitz | 2007-05-11 09:19:57 -0700 (Fri, 11 May 2007) | 1 line Get doc to build again (almost, the doc is fine) ................ r55267 | neal.norwitz | 2007-05-11 09:21:02 -0700 (Fri, 11 May 2007) | 1 line Really get doc to build (remove use of string module) ................ r55269 | neal.norwitz | 2007-05-11 09:29:43 -0700 (Fri, 11 May 2007) | 1 line Add some notes to cleanup later ................
Diffstat (limited to 'Python/graminit.c')
-rw-r--r--Python/graminit.c744
1 files changed, 381 insertions, 363 deletions
diff --git a/Python/graminit.c b/Python/graminit.c
index df35d51..bb62d0c 100644
--- a/Python/graminit.c
+++ b/Python/graminit.c
@@ -1184,10 +1184,10 @@ static state states_54[3] = {
{1, arcs_54_2},
};
static arc arcs_55_0[1] = {
- {104, 1},
+ {119, 1},
};
static arc arcs_55_1[2] = {
- {119, 0},
+ {120, 0},
{0, 1},
};
static state states_55[2] = {
@@ -1195,15 +1195,15 @@ static state states_55[2] = {
{2, arcs_55_1},
};
static arc arcs_56_0[9] = {
- {120, 1},
{121, 1},
{122, 1},
{123, 1},
{124, 1},
{125, 1},
+ {126, 1},
{98, 1},
{117, 2},
- {126, 3},
+ {127, 3},
};
static arc arcs_56_1[1] = {
{0, 1},
@@ -1221,22 +1221,26 @@ static state states_56[4] = {
{1, arcs_56_2},
{2, arcs_56_3},
};
-static arc arcs_57_0[1] = {
- {127, 1},
+static arc arcs_57_0[2] = {
+ {29, 1},
+ {104, 2},
};
-static arc arcs_57_1[2] = {
- {128, 0},
- {0, 1},
+static arc arcs_57_1[1] = {
+ {104, 2},
};
-static state states_57[2] = {
- {1, arcs_57_0},
- {2, arcs_57_1},
+static arc arcs_57_2[1] = {
+ {0, 2},
+};
+static state states_57[3] = {
+ {2, arcs_57_0},
+ {1, arcs_57_1},
+ {1, arcs_57_2},
};
static arc arcs_58_0[1] = {
- {129, 1},
+ {128, 1},
};
static arc arcs_58_1[2] = {
- {130, 0},
+ {129, 0},
{0, 1},
};
static state states_58[2] = {
@@ -1244,10 +1248,10 @@ static state states_58[2] = {
{2, arcs_58_1},
};
static arc arcs_59_0[1] = {
- {131, 1},
+ {130, 1},
};
static arc arcs_59_1[2] = {
- {132, 0},
+ {131, 0},
{0, 1},
};
static state states_59[2] = {
@@ -1255,23 +1259,22 @@ static state states_59[2] = {
{2, arcs_59_1},
};
static arc arcs_60_0[1] = {
- {133, 1},
+ {132, 1},
};
-static arc arcs_60_1[3] = {
- {134, 0},
- {135, 0},
+static arc arcs_60_1[2] = {
+ {133, 0},
{0, 1},
};
static state states_60[2] = {
{1, arcs_60_0},
- {3, arcs_60_1},
+ {2, arcs_60_1},
};
static arc arcs_61_0[1] = {
- {136, 1},
+ {134, 1},
};
static arc arcs_61_1[3] = {
- {137, 0},
- {138, 0},
+ {135, 0},
+ {136, 0},
{0, 1},
};
static state states_61[2] = {
@@ -1279,247 +1282,243 @@ static state states_61[2] = {
{3, arcs_61_1},
};
static arc arcs_62_0[1] = {
- {139, 1},
+ {137, 1},
+};
+static arc arcs_62_1[3] = {
+ {138, 0},
+ {139, 0},
+ {0, 1},
+};
+static state states_62[2] = {
+ {1, arcs_62_0},
+ {3, arcs_62_1},
+};
+static arc arcs_63_0[1] = {
+ {140, 1},
};
-static arc arcs_62_1[5] = {
+static arc arcs_63_1[5] = {
{29, 0},
- {140, 0},
{141, 0},
{142, 0},
+ {143, 0},
{0, 1},
};
-static state states_62[2] = {
- {1, arcs_62_0},
- {5, arcs_62_1},
+static state states_63[2] = {
+ {1, arcs_63_0},
+ {5, arcs_63_1},
};
-static arc arcs_63_0[4] = {
- {137, 1},
+static arc arcs_64_0[4] = {
{138, 1},
- {143, 1},
- {144, 2},
+ {139, 1},
+ {144, 1},
+ {145, 2},
};
-static arc arcs_63_1[1] = {
- {139, 2},
+static arc arcs_64_1[1] = {
+ {140, 2},
};
-static arc arcs_63_2[1] = {
+static arc arcs_64_2[1] = {
{0, 2},
};
-static state states_63[3] = {
- {4, arcs_63_0},
- {1, arcs_63_1},
- {1, arcs_63_2},
-};
-static arc arcs_64_0[1] = {
- {145, 1},
+static state states_64[3] = {
+ {4, arcs_64_0},
+ {1, arcs_64_1},
+ {1, arcs_64_2},
};
-static arc arcs_64_1[3] = {
+static arc arcs_65_0[1] = {
{146, 1},
+};
+static arc arcs_65_1[3] = {
+ {147, 1},
{31, 2},
{0, 1},
};
-static arc arcs_64_2[1] = {
- {139, 3},
+static arc arcs_65_2[1] = {
+ {140, 3},
};
-static arc arcs_64_3[1] = {
+static arc arcs_65_3[1] = {
{0, 3},
};
-static state states_64[4] = {
- {1, arcs_64_0},
- {3, arcs_64_1},
- {1, arcs_64_2},
- {1, arcs_64_3},
+static state states_65[4] = {
+ {1, arcs_65_0},
+ {3, arcs_65_1},
+ {1, arcs_65_2},
+ {1, arcs_65_3},
};
-static arc arcs_65_0[7] = {
+static arc arcs_66_0[7] = {
{13, 1},
- {148, 2},
- {150, 3},
+ {149, 2},
+ {151, 3},
{19, 4},
- {153, 4},
- {154, 5},
+ {154, 4},
+ {155, 5},
{79, 4},
};
-static arc arcs_65_1[3] = {
+static arc arcs_66_1[3] = {
{48, 6},
- {147, 6},
+ {148, 6},
{15, 4},
};
-static arc arcs_65_2[2] = {
- {147, 7},
- {149, 4},
+static arc arcs_66_2[2] = {
+ {148, 7},
+ {150, 4},
};
-static arc arcs_65_3[2] = {
- {151, 8},
- {152, 4},
+static arc arcs_66_3[2] = {
+ {152, 8},
+ {153, 4},
};
-static arc arcs_65_4[1] = {
+static arc arcs_66_4[1] = {
{0, 4},
};
-static arc arcs_65_5[2] = {
- {154, 5},
+static arc arcs_66_5[2] = {
+ {155, 5},
{0, 5},
};
-static arc arcs_65_6[1] = {
+static arc arcs_66_6[1] = {
{15, 4},
};
-static arc arcs_65_7[1] = {
- {149, 4},
+static arc arcs_66_7[1] = {
+ {150, 4},
};
-static arc arcs_65_8[1] = {
- {152, 4},
+static arc arcs_66_8[1] = {
+ {153, 4},
};
-static state states_65[9] = {
- {7, arcs_65_0},
- {3, arcs_65_1},
- {2, arcs_65_2},
- {2, arcs_65_3},
- {1, arcs_65_4},
- {2, arcs_65_5},
- {1, arcs_65_6},
- {1, arcs_65_7},
- {1, arcs_65_8},
-};
-static arc arcs_66_0[1] = {
+static state states_66[9] = {
+ {7, arcs_66_0},
+ {3, arcs_66_1},
+ {2, arcs_66_2},
+ {2, arcs_66_3},
+ {1, arcs_66_4},
+ {2, arcs_66_5},
+ {1, arcs_66_6},
+ {1, arcs_66_7},
+ {1, arcs_66_8},
+};
+static arc arcs_67_0[1] = {
{22, 1},
};
-static arc arcs_66_1[3] = {
- {155, 2},
+static arc arcs_67_1[3] = {
+ {156, 2},
{28, 3},
{0, 1},
};
-static arc arcs_66_2[1] = {
+static arc arcs_67_2[1] = {
{0, 2},
};
-static arc arcs_66_3[2] = {
+static arc arcs_67_3[2] = {
{22, 4},
{0, 3},
};
-static arc arcs_66_4[2] = {
+static arc arcs_67_4[2] = {
{28, 3},
{0, 4},
};
-static state states_66[5] = {
- {1, arcs_66_0},
- {3, arcs_66_1},
- {1, arcs_66_2},
- {2, arcs_66_3},
- {2, arcs_66_4},
+static state states_67[5] = {
+ {1, arcs_67_0},
+ {3, arcs_67_1},
+ {1, arcs_67_2},
+ {2, arcs_67_3},
+ {2, arcs_67_4},
};
-static arc arcs_67_0[3] = {
+static arc arcs_68_0[3] = {
{13, 1},
- {148, 2},
+ {149, 2},
{78, 3},
};
-static arc arcs_67_1[2] = {
+static arc arcs_68_1[2] = {
{14, 4},
{15, 5},
};
-static arc arcs_67_2[1] = {
- {156, 6},
+static arc arcs_68_2[1] = {
+ {157, 6},
};
-static arc arcs_67_3[1] = {
+static arc arcs_68_3[1] = {
{19, 5},
};
-static arc arcs_67_4[1] = {
+static arc arcs_68_4[1] = {
{15, 5},
};
-static arc arcs_67_5[1] = {
+static arc arcs_68_5[1] = {
{0, 5},
};
-static arc arcs_67_6[1] = {
- {149, 5},
+static arc arcs_68_6[1] = {
+ {150, 5},
};
-static state states_67[7] = {
- {3, arcs_67_0},
- {2, arcs_67_1},
- {1, arcs_67_2},
- {1, arcs_67_3},
- {1, arcs_67_4},
- {1, arcs_67_5},
- {1, arcs_67_6},
+static state states_68[7] = {
+ {3, arcs_68_0},
+ {2, arcs_68_1},
+ {1, arcs_68_2},
+ {1, arcs_68_3},
+ {1, arcs_68_4},
+ {1, arcs_68_5},
+ {1, arcs_68_6},
};
-static arc arcs_68_0[1] = {
- {157, 1},
+static arc arcs_69_0[1] = {
+ {158, 1},
};
-static arc arcs_68_1[2] = {
+static arc arcs_69_1[2] = {
{28, 2},
{0, 1},
};
-static arc arcs_68_2[2] = {
- {157, 1},
+static arc arcs_69_2[2] = {
+ {158, 1},
{0, 2},
};
-static state states_68[3] = {
- {1, arcs_68_0},
- {2, arcs_68_1},
- {2, arcs_68_2},
+static state states_69[3] = {
+ {1, arcs_69_0},
+ {2, arcs_69_1},
+ {2, arcs_69_2},
};
-static arc arcs_69_0[2] = {
+static arc arcs_70_0[2] = {
{22, 1},
{23, 2},
};
-static arc arcs_69_1[2] = {
+static arc arcs_70_1[2] = {
{23, 2},
{0, 1},
};
-static arc arcs_69_2[3] = {
+static arc arcs_70_2[3] = {
{22, 3},
- {158, 4},
+ {159, 4},
{0, 2},
};
-static arc arcs_69_3[2] = {
- {158, 4},
+static arc arcs_70_3[2] = {
+ {159, 4},
{0, 3},
};
-static arc arcs_69_4[1] = {
+static arc arcs_70_4[1] = {
{0, 4},
};
-static state states_69[5] = {
- {2, arcs_69_0},
- {2, arcs_69_1},
- {3, arcs_69_2},
- {2, arcs_69_3},
- {1, arcs_69_4},
-};
-static arc arcs_70_0[1] = {
- {23, 1},
-};
-static arc arcs_70_1[2] = {
- {22, 2},
- {0, 1},
-};
-static arc arcs_70_2[1] = {
- {0, 2},
-};
-static state states_70[3] = {
- {1, arcs_70_0},
+static state states_70[5] = {
+ {2, arcs_70_0},
{2, arcs_70_1},
- {1, arcs_70_2},
+ {3, arcs_70_2},
+ {2, arcs_70_3},
+ {1, arcs_70_4},
};
static arc arcs_71_0[1] = {
- {104, 1},
+ {23, 1},
};
static arc arcs_71_1[2] = {
- {28, 2},
+ {22, 2},
{0, 1},
};
-static arc arcs_71_2[2] = {
- {104, 1},
+static arc arcs_71_2[1] = {
{0, 2},
};
static state states_71[3] = {
{1, arcs_71_0},
{2, arcs_71_1},
- {2, arcs_71_2},
+ {1, arcs_71_2},
};
static arc arcs_72_0[1] = {
- {22, 1},
+ {119, 1},
};
static arc arcs_72_1[2] = {
{28, 2},
{0, 1},
};
static arc arcs_72_2[2] = {
- {22, 1},
+ {119, 1},
{0, 2},
};
static state states_72[3] = {
@@ -1530,245 +1529,261 @@ static state states_72[3] = {
static arc arcs_73_0[1] = {
{22, 1},
};
-static arc arcs_73_1[4] = {
+static arc arcs_73_1[2] = {
+ {28, 2},
+ {0, 1},
+};
+static arc arcs_73_2[2] = {
+ {22, 1},
+ {0, 2},
+};
+static state states_73[3] = {
+ {1, arcs_73_0},
+ {2, arcs_73_1},
+ {2, arcs_73_2},
+};
+static arc arcs_74_0[1] = {
+ {22, 1},
+};
+static arc arcs_74_1[4] = {
{23, 2},
- {155, 3},
+ {156, 3},
{28, 4},
{0, 1},
};
-static arc arcs_73_2[1] = {
+static arc arcs_74_2[1] = {
{22, 5},
};
-static arc arcs_73_3[1] = {
+static arc arcs_74_3[1] = {
{0, 3},
};
-static arc arcs_73_4[2] = {
+static arc arcs_74_4[2] = {
{22, 6},
{0, 4},
};
-static arc arcs_73_5[2] = {
+static arc arcs_74_5[2] = {
{28, 7},
{0, 5},
};
-static arc arcs_73_6[2] = {
+static arc arcs_74_6[2] = {
{28, 4},
{0, 6},
};
-static arc arcs_73_7[2] = {
+static arc arcs_74_7[2] = {
{22, 8},
{0, 7},
};
-static arc arcs_73_8[1] = {
+static arc arcs_74_8[1] = {
{23, 2},
};
-static state states_73[9] = {
- {1, arcs_73_0},
- {4, arcs_73_1},
- {1, arcs_73_2},
- {1, arcs_73_3},
- {2, arcs_73_4},
- {2, arcs_73_5},
- {2, arcs_73_6},
- {2, arcs_73_7},
- {1, arcs_73_8},
-};
-static arc arcs_74_0[1] = {
- {159, 1},
+static state states_74[9] = {
+ {1, arcs_74_0},
+ {4, arcs_74_1},
+ {1, arcs_74_2},
+ {1, arcs_74_3},
+ {2, arcs_74_4},
+ {2, arcs_74_5},
+ {2, arcs_74_6},
+ {2, arcs_74_7},
+ {1, arcs_74_8},
+};
+static arc arcs_75_0[1] = {
+ {160, 1},
};
-static arc arcs_74_1[1] = {
+static arc arcs_75_1[1] = {
{19, 2},
};
-static arc arcs_74_2[2] = {
+static arc arcs_75_2[2] = {
{13, 3},
{23, 4},
};
-static arc arcs_74_3[2] = {
+static arc arcs_75_3[2] = {
{14, 5},
{15, 6},
};
-static arc arcs_74_4[1] = {
+static arc arcs_75_4[1] = {
{24, 7},
};
-static arc arcs_74_5[1] = {
+static arc arcs_75_5[1] = {
{15, 6},
};
-static arc arcs_74_6[1] = {
+static arc arcs_75_6[1] = {
{23, 4},
};
-static arc arcs_74_7[1] = {
+static arc arcs_75_7[1] = {
{0, 7},
};
-static state states_74[8] = {
- {1, arcs_74_0},
- {1, arcs_74_1},
- {2, arcs_74_2},
- {2, arcs_74_3},
- {1, arcs_74_4},
- {1, arcs_74_5},
- {1, arcs_74_6},
- {1, arcs_74_7},
-};
-static arc arcs_75_0[3] = {
- {160, 1},
+static state states_75[8] = {
+ {1, arcs_75_0},
+ {1, arcs_75_1},
+ {2, arcs_75_2},
+ {2, arcs_75_3},
+ {1, arcs_75_4},
+ {1, arcs_75_5},
+ {1, arcs_75_6},
+ {1, arcs_75_7},
+};
+static arc arcs_76_0[3] = {
+ {161, 1},
{29, 2},
{31, 3},
};
-static arc arcs_75_1[2] = {
+static arc arcs_76_1[2] = {
{28, 4},
{0, 1},
};
-static arc arcs_75_2[1] = {
+static arc arcs_76_2[1] = {
{22, 5},
};
-static arc arcs_75_3[1] = {
+static arc arcs_76_3[1] = {
{22, 6},
};
-static arc arcs_75_4[4] = {
- {160, 1},
+static arc arcs_76_4[4] = {
+ {161, 1},
{29, 2},
{31, 3},
{0, 4},
};
-static arc arcs_75_5[2] = {
+static arc arcs_76_5[2] = {
{28, 7},
{0, 5},
};
-static arc arcs_75_6[1] = {
+static arc arcs_76_6[1] = {
{0, 6},
};
-static arc arcs_75_7[1] = {
+static arc arcs_76_7[1] = {
{31, 3},
};
-static state states_75[8] = {
- {3, arcs_75_0},
- {2, arcs_75_1},
- {1, arcs_75_2},
- {1, arcs_75_3},
- {4, arcs_75_4},
- {2, arcs_75_5},
- {1, arcs_75_6},
- {1, arcs_75_7},
+static state states_76[8] = {
+ {3, arcs_76_0},
+ {2, arcs_76_1},
+ {1, arcs_76_2},
+ {1, arcs_76_3},
+ {4, arcs_76_4},
+ {2, arcs_76_5},
+ {1, arcs_76_6},
+ {1, arcs_76_7},
};
-static arc arcs_76_0[1] = {
+static arc arcs_77_0[1] = {
{22, 1},
};
-static arc arcs_76_1[3] = {
- {155, 2},
+static arc arcs_77_1[3] = {
+ {156, 2},
{27, 3},
{0, 1},
};
-static arc arcs_76_2[1] = {
+static arc arcs_77_2[1] = {
{0, 2},
};
-static arc arcs_76_3[1] = {
+static arc arcs_77_3[1] = {
{22, 2},
};
-static state states_76[4] = {
- {1, arcs_76_0},
- {3, arcs_76_1},
- {1, arcs_76_2},
- {1, arcs_76_3},
+static state states_77[4] = {
+ {1, arcs_77_0},
+ {3, arcs_77_1},
+ {1, arcs_77_2},
+ {1, arcs_77_3},
};
-static arc arcs_77_0[2] = {
- {155, 1},
- {162, 1},
+static arc arcs_78_0[2] = {
+ {156, 1},
+ {163, 1},
};
-static arc arcs_77_1[1] = {
+static arc arcs_78_1[1] = {
{0, 1},
};
-static state states_77[2] = {
- {2, arcs_77_0},
- {1, arcs_77_1},
+static state states_78[2] = {
+ {2, arcs_78_0},
+ {1, arcs_78_1},
};
-static arc arcs_78_0[1] = {
+static arc arcs_79_0[1] = {
{97, 1},
};
-static arc arcs_78_1[1] = {
+static arc arcs_79_1[1] = {
{62, 2},
};
-static arc arcs_78_2[1] = {
+static arc arcs_79_2[1] = {
{98, 3},
};
-static arc arcs_78_3[1] = {
+static arc arcs_79_3[1] = {
{108, 4},
};
-static arc arcs_78_4[2] = {
- {161, 5},
+static arc arcs_79_4[2] = {
+ {162, 5},
{0, 4},
};
-static arc arcs_78_5[1] = {
+static arc arcs_79_5[1] = {
{0, 5},
};
-static state states_78[6] = {
- {1, arcs_78_0},
- {1, arcs_78_1},
- {1, arcs_78_2},
- {1, arcs_78_3},
- {2, arcs_78_4},
- {1, arcs_78_5},
+static state states_79[6] = {
+ {1, arcs_79_0},
+ {1, arcs_79_1},
+ {1, arcs_79_2},
+ {1, arcs_79_3},
+ {2, arcs_79_4},
+ {1, arcs_79_5},
};
-static arc arcs_79_0[1] = {
+static arc arcs_80_0[1] = {
{93, 1},
};
-static arc arcs_79_1[1] = {
+static arc arcs_80_1[1] = {
{110, 2},
};
-static arc arcs_79_2[2] = {
- {161, 3},
+static arc arcs_80_2[2] = {
+ {162, 3},
{0, 2},
};
-static arc arcs_79_3[1] = {
+static arc arcs_80_3[1] = {
{0, 3},
};
-static state states_79[4] = {
- {1, arcs_79_0},
- {1, arcs_79_1},
- {2, arcs_79_2},
- {1, arcs_79_3},
+static state states_80[4] = {
+ {1, arcs_80_0},
+ {1, arcs_80_1},
+ {2, arcs_80_2},
+ {1, arcs_80_3},
};
-static arc arcs_80_0[1] = {
+static arc arcs_81_0[1] = {
{22, 1},
};
-static arc arcs_80_1[2] = {
+static arc arcs_81_1[2] = {
{28, 0},
{0, 1},
};
-static state states_80[2] = {
- {1, arcs_80_0},
- {2, arcs_80_1},
+static state states_81[2] = {
+ {1, arcs_81_0},
+ {2, arcs_81_1},
};
-static arc arcs_81_0[1] = {
+static arc arcs_82_0[1] = {
{19, 1},
};
-static arc arcs_81_1[1] = {
+static arc arcs_82_1[1] = {
{0, 1},
};
-static state states_81[2] = {
- {1, arcs_81_0},
- {1, arcs_81_1},
+static state states_82[2] = {
+ {1, arcs_82_0},
+ {1, arcs_82_1},
};
-static arc arcs_82_0[1] = {
- {165, 1},
+static arc arcs_83_0[1] = {
+ {166, 1},
};
-static arc arcs_82_1[2] = {
+static arc arcs_83_1[2] = {
{9, 2},
{0, 1},
};
-static arc arcs_82_2[1] = {
+static arc arcs_83_2[1] = {
{0, 2},
};
-static state states_82[3] = {
- {1, arcs_82_0},
- {2, arcs_82_1},
- {1, arcs_82_2},
+static state states_83[3] = {
+ {1, arcs_83_0},
+ {2, arcs_83_1},
+ {1, arcs_83_2},
};
-static dfa dfas[83] = {
+static dfa dfas[84] = {
{256, "single_input", 0, 3, states_0,
- "\004\050\014\000\000\000\000\240\340\251\160\040\113\000\041\000\000\206\120\206\040"},
+ "\004\050\014\040\000\000\000\240\340\251\160\040\113\000\041\000\000\014\241\014\101"},
{257, "file_input", 0, 2, states_1,
- "\204\050\014\000\000\000\000\240\340\251\160\040\113\000\041\000\000\206\120\206\040"},
+ "\204\050\014\040\000\000\000\240\340\251\160\040\113\000\041\000\000\014\241\014\101"},
{258, "eval_input", 0, 3, states_2,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
{259, "decorator", 0, 7, states_3,
"\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"},
{260, "decorators", 0, 2, states_4,
@@ -1794,13 +1809,13 @@ static dfa dfas[83] = {
{270, "vfplist", 0, 3, states_14,
"\000\040\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"},
{271, "stmt", 0, 2, states_15,
- "\000\050\014\000\000\000\000\240\340\251\160\040\113\000\041\000\000\206\120\206\040"},
+ "\000\050\014\040\000\000\000\240\340\251\160\040\113\000\041\000\000\014\241\014\101"},
{272, "simple_stmt", 0, 4, states_16,
- "\000\040\010\000\000\000\000\240\340\251\160\000\000\000\041\000\000\206\120\006\040"},
+ "\000\040\010\040\000\000\000\240\340\251\160\000\000\000\041\000\000\014\241\014\100"},
{273, "small_stmt", 0, 2, states_17,
- "\000\040\010\000\000\000\000\240\340\251\160\000\000\000\041\000\000\206\120\006\040"},
+ "\000\040\010\040\000\000\000\240\340\251\160\000\000\000\041\000\000\014\241\014\100"},
{274, "expr_stmt", 0, 6, states_18,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
{275, "augassign", 0, 2, states_19,
"\000\000\000\000\000\000\376\037\000\000\000\000\000\000\000\000\000\000\000\000\000"},
{276, "del_stmt", 0, 3, states_20,
@@ -1808,7 +1823,7 @@ static dfa dfas[83] = {
{277, "pass_stmt", 0, 2, states_21,
"\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\000\000\000"},
{278, "flow_stmt", 0, 2, states_22,
- "\000\000\000\000\000\000\000\000\340\001\000\000\000\000\000\000\000\000\000\000\040"},
+ "\000\000\000\000\000\000\000\000\340\001\000\000\000\000\000\000\000\000\000\000\100"},
{279, "break_stmt", 0, 2, states_23,
"\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000"},
{280, "continue_stmt", 0, 2, states_24,
@@ -1816,7 +1831,7 @@ static dfa dfas[83] = {
{281, "return_stmt", 0, 3, states_25,
"\000\000\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000\000\000"},
{282, "yield_stmt", 0, 2, states_26,
- "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\040"},
+ "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\100"},
{283, "raise_stmt", 0, 7, states_27,
"\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\000\000\000\000"},
{284, "import_stmt", 0, 2, states_28,
@@ -1842,7 +1857,7 @@ static dfa dfas[83] = {
{294, "assert_stmt", 0, 5, states_38,
"\000\000\000\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\000\000"},
{295, "compound_stmt", 0, 2, states_39,
- "\000\010\004\000\000\000\000\000\000\000\000\040\113\000\000\000\000\000\000\200\000"},
+ "\000\010\004\000\000\000\000\000\000\000\000\040\113\000\000\000\000\000\000\000\001"},
{296, "if_stmt", 0, 8, states_40,
"\000\000\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000"},
{297, "while_stmt", 0, 8, states_41,
@@ -1858,79 +1873,81 @@ static dfa dfas[83] = {
{302, "except_clause", 0, 5, states_46,
"\000\000\000\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000"},
{303, "suite", 0, 5, states_47,
- "\004\040\010\000\000\000\000\240\340\251\160\000\000\000\041\000\000\206\120\006\040"},
+ "\004\040\010\040\000\000\000\240\340\251\160\000\000\000\041\000\000\014\241\014\100"},
{304, "test", 0, 6, states_48,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
{305, "test_nocond", 0, 2, states_49,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
{306, "lambdef", 0, 5, states_50,
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000"},
{307, "lambdef_nocond", 0, 5, states_51,
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\000\000\000\000\000\000"},
{308, "or_test", 0, 2, states_52,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\040\000\000\206\120\006\000"},
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\040\000\000\014\241\014\000"},
{309, "and_test", 0, 2, states_53,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\040\000\000\206\120\006\000"},
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\040\000\000\014\241\014\000"},
{310, "not_test", 0, 3, states_54,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\040\000\000\206\120\006\000"},
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\040\000\000\014\241\014\000"},
{311, "comparison", 0, 2, states_55,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
{312, "comp_op", 0, 4, states_56,
- "\000\000\000\000\000\000\000\000\000\000\000\000\004\000\040\177\000\000\000\000\000"},
- {313, "expr", 0, 2, states_57,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
- {314, "xor_expr", 0, 2, states_58,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
- {315, "and_expr", 0, 2, states_59,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
- {316, "shift_expr", 0, 2, states_60,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
- {317, "arith_expr", 0, 2, states_61,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
- {318, "term", 0, 2, states_62,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
- {319, "factor", 0, 3, states_63,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
- {320, "power", 0, 4, states_64,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\120\006\000"},
- {321, "atom", 0, 9, states_65,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\120\006\000"},
- {322, "testlist_comp", 0, 5, states_66,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
- {323, "trailer", 0, 7, states_67,
- "\000\040\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\020\000\000"},
- {324, "subscriptlist", 0, 3, states_68,
- "\000\040\210\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
- {325, "subscript", 0, 5, states_69,
- "\000\040\210\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
- {326, "sliceop", 0, 3, states_70,
+ "\000\000\000\000\000\000\000\000\000\000\000\000\004\000\040\376\000\000\000\000\000"},
+ {313, "star_expr", 0, 3, states_57,
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {314, "expr", 0, 2, states_58,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {315, "xor_expr", 0, 2, states_59,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {316, "and_expr", 0, 2, states_60,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {317, "shift_expr", 0, 2, states_61,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {318, "arith_expr", 0, 2, states_62,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {319, "term", 0, 2, states_63,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {320, "factor", 0, 3, states_64,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {321, "power", 0, 4, states_65,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\240\014\000"},
+ {322, "atom", 0, 9, states_66,
+ "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\000\240\014\000"},
+ {323, "testlist_comp", 0, 5, states_67,
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
+ {324, "trailer", 0, 7, states_68,
+ "\000\040\000\000\000\000\000\000\000\100\000\000\000\000\000\000\000\000\040\000\000"},
+ {325, "subscriptlist", 0, 3, states_69,
+ "\000\040\210\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
+ {326, "subscript", 0, 5, states_70,
+ "\000\040\210\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
+ {327, "sliceop", 0, 3, states_71,
"\000\000\200\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"},
- {327, "exprlist", 0, 3, states_71,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\000\000\000\206\120\006\000"},
- {328, "testlist", 0, 3, states_72,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
- {329, "dictorsetmaker", 0, 9, states_73,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
- {330, "classdef", 0, 8, states_74,
- "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\200\000"},
- {331, "arglist", 0, 8, states_75,
- "\000\040\010\240\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
- {332, "argument", 0, 4, states_76,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
- {333, "comp_iter", 0, 2, states_77,
+ {328, "exprlist", 0, 3, states_72,
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\000\000\000\014\241\014\000"},
+ {329, "testlist", 0, 3, states_73,
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
+ {330, "dictorsetmaker", 0, 9, states_74,
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
+ {331, "classdef", 0, 8, states_75,
+ "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001"},
+ {332, "arglist", 0, 8, states_76,
+ "\000\040\010\240\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
+ {333, "argument", 0, 4, states_77,
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
+ {334, "comp_iter", 0, 2, states_78,
"\000\000\000\000\000\000\000\000\000\000\000\040\002\000\000\000\000\000\000\000\000"},
- {334, "comp_for", 0, 6, states_78,
+ {335, "comp_for", 0, 6, states_79,
"\000\000\000\000\000\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\000"},
- {335, "comp_if", 0, 4, states_79,
+ {336, "comp_if", 0, 4, states_80,
"\000\000\000\000\000\000\000\000\000\000\000\040\000\000\000\000\000\000\000\000\000"},
- {336, "testlist1", 0, 2, states_80,
- "\000\040\010\000\000\000\000\000\000\200\000\000\000\000\041\000\000\206\120\006\000"},
- {337, "encoding_decl", 0, 2, states_81,
+ {337, "testlist1", 0, 2, states_81,
+ "\000\040\010\040\000\000\000\000\000\200\000\000\000\000\041\000\000\014\241\014\000"},
+ {338, "encoding_decl", 0, 2, states_82,
"\000\000\010\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"},
- {338, "yield_expr", 0, 3, states_82,
- "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\040"},
+ {339, "yield_expr", 0, 3, states_83,
+ "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\100"},
};
-static label labels[166] = {
+static label labels[167] = {
{0, "EMPTY"},
{256, 0},
{4, 0},
@@ -1940,12 +1957,12 @@ static label labels[166] = {
{271, 0},
{0, 0},
{258, 0},
- {328, 0},
+ {329, 0},
{259, 0},
{50, 0},
{291, 0},
{7, 0},
- {331, 0},
+ {332, 0},
{8, 0},
{260, 0},
{261, 0},
@@ -1979,7 +1996,7 @@ static label labels[166] = {
{293, 0},
{294, 0},
{275, 0},
- {338, 0},
+ {339, 0},
{37, 0},
{38, 0},
{39, 0},
@@ -1993,7 +2010,7 @@ static label labels[166] = {
{47, 0},
{49, 0},
{1, "del"},
- {327, 0},
+ {328, 0},
{1, "pass"},
{279, 0},
{280, 0},
@@ -2023,7 +2040,7 @@ static label labels[166] = {
{298, 0},
{299, 0},
{300, 0},
- {330, 0},
+ {331, 0},
{1, "if"},
{1, "elif"},
{1, "else"},
@@ -2035,7 +2052,7 @@ static label labels[166] = {
{1, "finally"},
{1, "with"},
{301, 0},
- {313, 0},
+ {314, 0},
{1, "except"},
{5, 0},
{6, 0},
@@ -2050,6 +2067,7 @@ static label labels[166] = {
{1, "and"},
{1, "not"},
{311, 0},
+ {313, 0},
{312, 0},
{20, 0},
{21, 0},
@@ -2058,49 +2076,49 @@ static label labels[166] = {
{30, 0},
{29, 0},
{1, "is"},
- {314, 0},
- {18, 0},
{315, 0},
- {33, 0},
+ {18, 0},
{316, 0},
- {19, 0},
+ {33, 0},
{317, 0},
+ {19, 0},
+ {318, 0},
{34, 0},
{35, 0},
- {318, 0},
+ {319, 0},
{14, 0},
{15, 0},
- {319, 0},
+ {320, 0},
{17, 0},
{24, 0},
{48, 0},
{32, 0},
- {320, 0},
{321, 0},
- {323, 0},
{322, 0},
+ {324, 0},
+ {323, 0},
{9, 0},
{10, 0},
{26, 0},
- {329, 0},
+ {330, 0},
{27, 0},
{2, 0},
{3, 0},
- {334, 0},
- {324, 0},
+ {335, 0},
{325, 0},
{326, 0},
+ {327, 0},
{1, "class"},
- {332, 0},
{333, 0},
- {335, 0},
+ {334, 0},
{336, 0},
{337, 0},
+ {338, 0},
{1, "yield"},
};
grammar _PyParser_Grammar = {
- 83,
+ 84,
dfas,
- {166, labels},
+ {167, labels},
256
};