diff Python/graminit.c @ 36663:5788e0a689e2 legacy-trunk

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.
author Neal Norwitz <nnorwitz@gmail.com>
date Sun, 26 Feb 2006 22:29:38 +0000
parents f67c4ab304ec
children 6165927431d6
line wrap: on
line diff
--- a/Python/graminit.c	Sun Feb 26 22:12:35 2006 +0000
+++ b/Python/graminit.c	Sun Feb 26 22:29:38 2006 +0000
@@ -1519,26 +1519,13 @@
 	{0, 2},
 };
 static arc arcs_69_3[1] = {
-	{26, 4},
-};
-static arc arcs_69_4[2] = {
-	{13, 5},
-	{0, 4},
+	{26, 2},
 };
-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 @@
 	 "\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"},