diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2019-10-15 07:26:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-15 07:26:12 (GMT) |
commit | 0b60f64e4343913b4931dc27379d9808e5b78fe1 (patch) | |
tree | 197eeeff16c9146b5040bed69d1e0d95c5fdc87b /Python/graminit.c | |
parent | 4d202281c128e2026e78fc5f4cc752b1dafbf3ad (diff) | |
download | cpython-0b60f64e4343913b4931dc27379d9808e5b78fe1.zip cpython-0b60f64e4343913b4931dc27379d9808e5b78fe1.tar.gz cpython-0b60f64e4343913b4931dc27379d9808e5b78fe1.tar.bz2 |
bpo-11410: Standardize and use symbol visibility attributes across POSIX and Windows. (GH-16347)
Diffstat (limited to 'Python/graminit.c')
-rw-r--r-- | Python/graminit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Python/graminit.c b/Python/graminit.c index 7c40ce9..62d9ae2 100644 --- a/Python/graminit.c +++ b/Python/graminit.c @@ -1,7 +1,8 @@ /* Generated by Parser/pgen */ +#include "exports.h" #include "grammar.h" -grammar _PyParser_Grammar; +Py_EXPORTED_SYMBOL grammar _PyParser_Grammar; static const arc arcs_0_0[3] = { {2, 1}, {3, 2}, @@ -2693,7 +2694,7 @@ static const label labels[183] = { {346, 0}, {347, 0}, }; -grammar _PyParser_Grammar = { +Py_EXPORTED_SYMBOL grammar _PyParser_Grammar = { 92, dfas, {183, labels}, |