summaryrefslogtreecommitdiffstats
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-06-17 12:35:49 (GMT)
committerGuido van Rossum <guido@python.org>1993-06-17 12:35:49 (GMT)
commit234f942aefb779efa6cfb7225e21d16a3f7e80f7 (patch)
tree9c85e1ae919ebb44c0a1ca48bdfd11d5f60c7d9c /Python/graminit.c
parent6a0e2282c359801bd70742642d24f7b0b74f5b4e (diff)
downloadcpython-234f942aefb779efa6cfb7225e21d16a3f7e80f7.zip
cpython-234f942aefb779efa6cfb7225e21d16a3f7e80f7.tar.gz
cpython-234f942aefb779efa6cfb7225e21d16a3f7e80f7.tar.bz2
* 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().
Diffstat (limited to 'Python/graminit.c')
-rw-r--r--Python/graminit.c41
1 files changed, 25 insertions, 16 deletions
diff --git a/Python/graminit.c b/Python/graminit.c
index 530ddf3..3b78d0c 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"},