summaryrefslogtreecommitdiffstats
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-16 13:44:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-05-16 13:44:45 (GMT)
commitde12b79cd65ddde79fdaf794b58cd184f345a884 (patch)
tree02b0890752f2a2ec66ce8d6049ad0c4eaba1d8df /Python/graminit.c
parent8de32d906f3cdcffa088fc786eefa8f4e7bce785 (diff)
downloadcpython-de12b79cd65ddde79fdaf794b58cd184f345a884.zip
cpython-de12b79cd65ddde79fdaf794b58cd184f345a884.tar.gz
cpython-de12b79cd65ddde79fdaf794b58cd184f345a884.tar.bz2
allow test node after ** in calls (closes #24176)
Diffstat (limited to 'Python/graminit.c')
-rw-r--r--Python/graminit.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/Python/graminit.c b/Python/graminit.c
index 8b236a4..14ac24f 100644
--- a/Python/graminit.c
+++ b/Python/graminit.c
@@ -1748,24 +1748,20 @@ static arc arcs_78_0[3] = {
};
static arc arcs_78_1[3] = {
{164, 3},
- {31, 4},
+ {31, 2},
{0, 1},
};
static arc arcs_78_2[1] = {
- {107, 3},
+ {26, 3},
};
static arc arcs_78_3[1] = {
{0, 3},
};
-static arc arcs_78_4[1] = {
- {26, 3},
-};
-static state states_78[5] = {
+static state states_78[4] = {
{3, arcs_78_0},
{3, arcs_78_1},
{1, arcs_78_2},
{1, arcs_78_3},
- {1, arcs_78_4},
};
static arc arcs_79_0[2] = {
{164, 1},
@@ -2021,7 +2017,7 @@ static dfa dfas[85] = {
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001"},
{333, "arglist", 0, 3, states_77,
"\000\040\200\000\006\000\000\000\000\000\004\000\000\000\010\001\000\140\110\224\017\000"},
- {334, "argument", 0, 5, states_78,
+ {334, "argument", 0, 4, states_78,
"\000\040\200\000\006\000\000\000\000\000\004\000\000\000\010\001\000\140\110\224\017\000"},
{335, "comp_iter", 0, 2, states_79,
"\000\000\000\000\000\000\000\000\000\000\000\000\021\000\000\000\000\000\000\000\000\000"},