Commit 084b04a3 authored by Stefan Behnel's avatar Stefan Behnel

fix compiler crash

parent 22b2f077
...@@ -1199,7 +1199,8 @@ class CppClassNode(CStructOrUnionDefNode, BlockNode): ...@@ -1199,7 +1199,8 @@ class CppClassNode(CStructOrUnionDefNode, BlockNode):
if self.entry is None: if self.entry is None:
return return
self.entry.is_cpp_class = 1 self.entry.is_cpp_class = 1
scope.type = self.entry.type if scope is not None:
scope.type = self.entry.type
defined_funcs = [] defined_funcs = []
if self.attributes is not None: if self.attributes is not None:
if self.in_pxd and not env.in_cinclude: if self.in_pxd and not env.in_cinclude:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment