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

fix compiler crash

parent 22b2f077
...@@ -1199,6 +1199,7 @@ class CppClassNode(CStructOrUnionDefNode, BlockNode): ...@@ -1199,6 +1199,7 @@ 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
if scope is not None:
scope.type = self.entry.type scope.type = self.entry.type
defined_funcs = [] defined_funcs = []
if self.attributes is not None: if self.attributes is not None:
......
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