diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2009-01-11 09:30:50 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2009-01-11 09:30:50 +0000 |
| commit | 53188773962428e075a5d241cd1280e262853e3e (patch) | |
| tree | 44c65dbadfaf29c99091e8920321e5e34c00cbe0 /Parser | |
| parent | 4d8611fd2df16cfb49b154d913ba4d272e769ec7 (diff) | |
| download | cpython-53188773962428e075a5d241cd1280e262853e3e.tar.gz | |
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.
........
Diffstat (limited to 'Parser')
| -rw-r--r-- | Parser/printgrammar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/printgrammar.c b/Parser/printgrammar.c index ec8f4daa4e..ae180e11f2 100644 --- a/Parser/printgrammar.c +++ b/Parser/printgrammar.c @@ -16,6 +16,7 @@ printgrammar(grammar *g, FILE *fp) fprintf(fp, "/* Generated by Parser/pgen */\n\n"); fprintf(fp, "#include \"pgenheaders.h\"\n"); fprintf(fp, "#include \"grammar.h\"\n"); + fprintf(fp, "PyAPI_DATA(grammar) _PyParser_Grammar;\n"); printdfas(g, fp); printlabels(g, fp); fprintf(fp, "grammar _PyParser_Grammar = {\n"); |
