Commit 02e5e8e7 authored by Stefan Behnel's avatar Stefan Behnel

fix compiler crash on mangled ctypedef names

parent c0b8a86a
...@@ -851,7 +851,8 @@ class CStructOrUnionDefNode(StatNode): ...@@ -851,7 +851,8 @@ class CStructOrUnionDefNode(StatNode):
cname = self.cname, visibility='ignore') cname = self.cname, visibility='ignore')
struct_entry.type.typedef_flag = False struct_entry.type.typedef_flag = False
# FIXME: this might be considered a hack ;-) # FIXME: this might be considered a hack ;-)
struct_entry.cname = struct_entry.type.cname = '_' + self.cname struct_entry.cname = struct_entry.type.cname = \
'_' + self.entry.type.typedef_cname
def analyse_expressions(self, env): def analyse_expressions(self, env):
pass pass
......
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