From 0b60f64e4343913b4931dc27379d9808e5b78fe1 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Tue, 15 Oct 2019 08:26:12 +0100 Subject: bpo-11410: Standardize and use symbol visibility attributes across POSIX and Windows. (GH-16347) --- Python/graminit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Python/graminit.c') diff --git a/Python/graminit.c b/Python/graminit.c index 7c40ce933c..62d9ae207f 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}, -- cgit v1.2.1