mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Merged revisions 68523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68523 | martin.v.loewis | 2009-01-11 10:26:54 +0100 (So, 11 Jan 2009) | 2 lines Issue #4279: Fix build of parsermodule under Cygwin. ........
This commit is contained in:
parent
81a3d1c13a
commit
a9b54c78d7
3 changed files with 4 additions and 0 deletions
|
@ -284,6 +284,8 @@ C-API
|
||||||
Extension Modules
|
Extension Modules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
- Issue #4279: Fix build of parsermodule under Cygwin.
|
||||||
|
|
||||||
- Issue #4751: hashlib now releases the GIL when hashing large buffers
|
- Issue #4751: hashlib now releases the GIL when hashing large buffers
|
||||||
(with a hardwired threshold of 2048 bytes), allowing better parallelization
|
(with a hardwired threshold of 2048 bytes), allowing better parallelization
|
||||||
on multi-CPU systems. Contributed by Lukas Lueg (ebfe) and Victor Stinner.
|
on multi-CPU systems. Contributed by Lukas Lueg (ebfe) and Victor Stinner.
|
||||||
|
|
|
@ -16,6 +16,7 @@ printgrammar(grammar *g, FILE *fp)
|
||||||
fprintf(fp, "/* Generated by Parser/pgen */\n\n");
|
fprintf(fp, "/* Generated by Parser/pgen */\n\n");
|
||||||
fprintf(fp, "#include \"pgenheaders.h\"\n");
|
fprintf(fp, "#include \"pgenheaders.h\"\n");
|
||||||
fprintf(fp, "#include \"grammar.h\"\n");
|
fprintf(fp, "#include \"grammar.h\"\n");
|
||||||
|
fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n");
|
||||||
printdfas(g, fp);
|
printdfas(g, fp);
|
||||||
printlabels(g, fp);
|
printlabels(g, fp);
|
||||||
fprintf(fp, "grammar _PyParser_Grammar = {\n");
|
fprintf(fp, "grammar _PyParser_Grammar = {\n");
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
#include "pgenheaders.h"
|
#include "pgenheaders.h"
|
||||||
#include "grammar.h"
|
#include "grammar.h"
|
||||||
|
PyAPI_DATA(grammar) _PyParser_Grammar;
|
||||||
static arc arcs_0_0[3] = {
|
static arc arcs_0_0[3] = {
|
||||||
{2, 1},
|
{2, 1},
|
||||||
{3, 1},
|
{3, 1},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue