Oops, I forgot to check this in with the change to Grammar/Grammar.

Implement change suggested by Jiwon Seo on python-dev.
['(' gen_for ')'] is redundant with test, so remove it.
This commit is contained in:
Neal Norwitz 2006-02-26 22:29:38 +00:00
parent 2b366e41c3
commit 59090a7334
1 changed files with 3 additions and 16 deletions

View File

@ -1519,26 +1519,13 @@ static arc arcs_69_2[1] = {
{0, 2},
};
static arc arcs_69_3[1] = {
{26, 4},
{26, 2},
};
static arc arcs_69_4[2] = {
{13, 5},
{0, 4},
};
static arc arcs_69_5[1] = {
{147, 6},
};
static arc arcs_69_6[1] = {
{15, 2},
};
static state states_69[7] = {
static state states_69[4] = {
{1, arcs_69_0},
{3, arcs_69_1},
{1, arcs_69_2},
{1, arcs_69_3},
{2, arcs_69_4},
{1, arcs_69_5},
{1, arcs_69_6},
};
static arc arcs_70_0[2] = {
{146, 1},
@ -1829,7 +1816,7 @@ static dfa dfas[79] = {
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\002\000"},
{324, "arglist", 0, 8, states_68,
"\000\040\010\060\000\000\000\000\000\000\000\000\000\002\000\140\010\111\023\000\000"},
{325, "argument", 0, 7, states_69,
{325, "argument", 0, 4, states_69,
"\000\040\010\000\000\000\000\000\000\000\000\000\000\002\000\140\010\111\023\000\000"},
{326, "list_iter", 0, 2, states_70,
"\000\000\000\000\000\000\000\000\000\000\000\042\000\000\000\000\000\000\000\000\000"},