summaryrefslogtreecommitdiffstats
path: root/Parser/printgrammar.c
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/printgrammar.c')
-rw-r--r--Parser/printgrammar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/printgrammar.c b/Parser/printgrammar.c
index 7311e55..1a8b0e1 100644
--- a/Parser/printgrammar.c
+++ b/Parser/printgrammar.c
@@ -18,7 +18,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");
+ fprintf(fp, "grammar _PyParser_Grammar;\n");
printdfas(g, fp);
printlabels(g, fp);
fprintf(fp, "grammar _PyParser_Grammar = {\n");