summaryrefslogtreecommitdiffstats
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-08-28 15:27:34 (GMT)
committerGuido van Rossum <guido@python.org>2006-08-28 15:27:34 (GMT)
commit86e58e239e39845e706c4afa392423f0fedcdf39 (patch)
tree1d0f4d942e644ee5c903636d87176b98a7203371 /Python/graminit.c
parentecfd0b2f3bfd622c3ba148e53d3feebb8c1ae721 (diff)
downloadcpython-86e58e239e39845e706c4afa392423f0fedcdf39.zip
cpython-86e58e239e39845e706c4afa392423f0fedcdf39.tar.gz
cpython-86e58e239e39845e706c4afa392423f0fedcdf39.tar.bz2
SF patch 1547796 by Georg Brandl -- set literals.
Diffstat (limited to 'Python/graminit.c')
-rw-r--r--Python/graminit.c30
1 files changed, 23 insertions, 7 deletions
diff --git a/Python/graminit.c b/Python/graminit.c
index cfbd7a4..aeaa429 100644
--- a/Python/graminit.c
+++ b/Python/graminit.c
@@ -1500,26 +1500,42 @@ static state states_70[3] = {
static arc arcs_71_0[1] = {
{26, 1},
};
-static arc arcs_71_1[1] = {
+static arc arcs_71_1[3] = {
{21, 2},
+ {27, 3},
+ {0, 1},
};
static arc arcs_71_2[1] = {
- {26, 3},
+ {26, 4},
};
static arc arcs_71_3[2] = {
- {27, 4},
+ {26, 5},
{0, 3},
};
static arc arcs_71_4[2] = {
- {26, 1},
+ {27, 6},
{0, 4},
};
-static state states_71[5] = {
+static arc arcs_71_5[2] = {
+ {27, 3},
+ {0, 5},
+};
+static arc arcs_71_6[2] = {
+ {26, 7},
+ {0, 6},
+};
+static arc arcs_71_7[1] = {
+ {21, 2},
+};
+static state states_71[8] = {
{1, arcs_71_0},
- {1, arcs_71_1},
+ {3, arcs_71_1},
{1, arcs_71_2},
{2, arcs_71_3},
{2, arcs_71_4},
+ {2, arcs_71_5},
+ {2, arcs_71_6},
+ {1, arcs_71_7},
};
static arc arcs_72_0[1] = {
{157, 1},
@@ -1911,7 +1927,7 @@ static dfa dfas[84] = {
"\000\040\010\000\000\000\000\000\000\000\000\000\000\000\000\000\140\010\311\000\000"},
{326, "testlist", 0, 3, states_70,
"\000\040\010\000\000\000\000\000\000\000\000\000\000\020\004\000\140\010\311\000\000"},
- {327, "dictmaker", 0, 5, states_71,
+ {327, "dictsetmaker", 0, 8, states_71,
"\000\040\010\000\000\000\000\000\000\000\000\000\000\020\004\000\140\010\311\000\000"},
{328, "classdef", 0, 8, states_72,
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\040\000"},