From 234f942aefb779efa6cfb7225e21d16a3f7e80f7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 17 Jun 1993 12:35:49 +0000 Subject: * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c. Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close(). --- Python/graminit.c | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) (limited to 'Python/graminit.c') diff --git a/Python/graminit.c b/Python/graminit.c index 530ddf3f09..3b78d0c000 100644 --- a/Python/graminit.c +++ b/Python/graminit.c @@ -393,26 +393,35 @@ static state states_22[3] = { static arc arcs_23_0[1] = { {51, 1}, }; -static arc arcs_23_1[1] = { - {13, 2}, +static arc arcs_23_1[2] = { + {22, 2}, + {13, 3}, }; -static arc arcs_23_2[2] = { - {21, 1}, - {15, 3}, +static arc arcs_23_2[1] = { + {15, 4}, +}; +static arc arcs_23_3[2] = { + {21, 5}, + {15, 4}, }; -static arc arcs_23_3[1] = { - {52, 4}, +static arc arcs_23_4[1] = { + {52, 6}, }; -static arc arcs_23_4[2] = { - {21, 3}, - {0, 4}, +static arc arcs_23_5[1] = { + {13, 3}, +}; +static arc arcs_23_6[2] = { + {21, 4}, + {0, 6}, }; -static state states_23[5] = { +static state states_23[7] = { {1, arcs_23_0}, - {1, arcs_23_1}, - {2, arcs_23_2}, - {1, arcs_23_3}, - {2, arcs_23_4}, + {2, arcs_23_1}, + {1, arcs_23_2}, + {2, arcs_23_3}, + {1, arcs_23_4}, + {1, arcs_23_5}, + {2, arcs_23_6}, }; static arc arcs_24_0[1] = { {13, 1}, @@ -1057,7 +1066,7 @@ static dfa dfas[51] = { "\000\000\000\000\000\000\003\000\000\000\000\000\000\000\000"}, {278, "global_stmt", 0, 3, states_22, "\000\000\000\000\000\000\004\000\000\000\000\000\000\000\000"}, - {279, "access_stmt", 0, 5, states_23, + {279, "access_stmt", 0, 7, states_23, "\000\000\000\000\000\000\010\000\000\000\000\000\000\000\000"}, {280, "accesstype", 0, 2, states_24, "\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000"}, -- cgit v1.2.1