diff options
Diffstat (limited to 'Cython/Compiler/Nodes.py')
-rw-r--r-- | Cython/Compiler/Nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 877e7b928..8667e5c74 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -1557,7 +1557,7 @@ class CStructOrUnionDefNode(StatNode): def analyse_declarations(self, env): scope = None if self.attributes is not None: - scope = StructOrUnionScope(self.name) + scope = StructOrUnionScope(self.name, self.visibility) self.declare(env, scope) if self.attributes is not None: if self.in_pxd and not env.in_cinclude: |