mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)
This commit is contained in:
parent
019f0a0cb8
commit
e502451781
13 changed files with 33 additions and 31 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue