summaryrefslogtreecommitdiffstats
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-08-28 15:27:34 (GMT)
committerGuido van Rossum <guido@python.org>2006-08-28 15:27:34 (GMT)
commit86e58e239e39845e706c4afa392423f0fedcdf39 (patch)
tree1d0f4d942e644ee5c903636d87176b98a7203371 /Python/graminit.c
parentecfd0b2f3bfd622c3ba148e53d3feebb8c1ae721 (diff)
downloadcpython-86e58e239e39845e706c4afa392423f0fedcdf39.zip
cpython-86e58e239e39845e706c4afa392423f0fedcdf39.tar.gz
cpython-86e58e239e39845e706c4afa392423f0fedcdf39.tar.bz2
SF patch 1547796 by Georg Brandl -- set literals.
Diffstat (limited to 'Python/graminit.c')
-rw-r--r--Python/graminit.c30
1 files changed, 23 insertions, 7 deletions
diff --git a/Python/graminit.c b/Python/graminit.c
index cfbd7a4..aeaa429 100644
--- a/Python/graminit.c
+++ b/Python/graminit.c
@@ -1500,26 +1500,42 @@ static state states_70[3] = {
static arc arcs_71_0[1] = {
{26, 1},
};
-static arc arcs_71_1[1] = {
+static arc arcs_71_1[3] = {
{21, 2},
+ {27, 3},
+ {0, 1},
};
static arc arcs_71_2[1] = {
- {26, 3},
+ {26, 4},
};
static arc arcs_71_3[2] = {
- {27, 4},
+ {26, 5},
{0, 3},
};
static arc arcs_71_4[2] = {
- {26, 1},
+ {27, 6},
{0, 4},
};
-static state states_71[5] = {
+static arc arcs_71_5[2] = {
+ {27, 3},
+ {0, 5},
+};
+static arc arcs_71_6[2] = {
+ {26, 7},
+ {0, 6},
+};
+static arc arcs_71_7[1] = {
+ {21, 2},
+};
+static state states_71[8] = {
{1, arcs_71_0},
- {1, arcs_71_1},
+ {3, arcs_71_1},
{1, arcs_71_2},
{2, arcs_71_3},
{2, arcs_71_4},
+ {2, arcs_71_5},
+ {2, arcs_71_6},
+ {1, arcs_71_7},
};
static arc arcs_72_0[1] = {
{157, 1},
@@ -1911,7 +1927,7 @@ static dfa dfas[84] = {
"\000\040\010\000\000\000\000\000\000\000\000\000\000\000\000\000\140\010\311\000\000"},
{326, "testlist", 0, 3, states_70,
"\000\040\010\000\000\000\000\000\000\000\000\000\000\020\004\000\140\010\311\000\000"},
- {327, "dictmaker", 0, 5, states_71,
+ {327, "dictsetmaker", 0, 8, states_71,
"\000\040\010\000\000\000\000\000\000\000\000\000\000\020\004\000\140\010\311\000\000"},
{328, "classdef", 0, 8, states_72,
"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\040\000"},
0747be'>bug_879a0747be Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
Commit message (Expand)AuthorAgeFilesLines
* more result generation conversiondkf2012-08-041-26/+31
* converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-6/+4
* Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-15/+15
* Reduce amount of unreachable code. Refactor Win socket and load code to be lessdkf2012-04-051-31/+1
* Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
|\
| * Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
| |\
| | * Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
* | | Convert TclGetLoadedPackages to use Tcl_Obj API for result generation.dkf2011-05-071-38/+40
* | | More generation of errorCodes ([interp], [lset], [load], [unload]).dkf2011-04-021-2/+34
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-10/+10
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ \ | |/ /
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| * | Fixed [Bug 2269431]: load of shared objectsnijtmans2008-11-141-3/+5
| * | * tclWinTest.c: Fix compiler warning when compiling this file with mingw gcc:nijtmans2008-10-071-3/+5
* | | * generic/tclBasic.c, generic/tclClock.c, generic/tclEncoding.c,dkf2010-10-011-21/+25
* | | Don't use arrays of length 1, just use a single element then, it makes code m...nijtmans2010-05-191-4/+4
* | | * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-021-51/+20
* | | Code Audit results:dkf2010-03-051-7/+7
* | | CONSTify TclGetLoadedPackages second paramnijtmans2008-12-191-10/+10
* | | Implement TIP#307.dkf2008-12-051-3/+3
* | | rename static function FSUnloadTempFile tonijtmans2008-11-131-4/+7
* | | Add "const" to many internalnijtmans2008-10-161-2/+2
* | | * generic/tclLoad.c: Make sure that any library whichnijtmans2008-10-041-3/+5
* | | fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-2/+2
* | | Small clarifications that code a bit nicer to read.dkf2008-05-301-44/+36
|/ /
* | various "const" additions, in line with TIP #27nijtmans2007-02-201-8/+9
* | Convert to using ANSI decls/definitions and using the (ANSI) assumption that ...dkf2005-10-311-93/+88
* | Getting more systematic about styledkf2005-07-171-219/+220
* | fixed typos in documentation and commentsvincentdarley2004-03-091-2/+2
* | Missed a pointer dereference in check for NULL. D'oh! [904307]dkf2004-02-251-2/+2
* | TIP#100 implementation largely based on work by Georgios Petasis.dkf2004-02-241-15/+490
* | Fix memory leak on error pathdkf2004-02-211-2/+3
|/
* * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage Kevin B Kenny2003-02-011-18/+40
* removed load-related clientData, made filesystem staticvincentdarley2002-07-221-8/+8
* Updated APIs in the files */tcl*Load*.c according to the guidelinesKevin B Kenny2002-01-091-2/+2
* fs updatevincentdarley2001-08-231-7/+10
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-31