Commit ec7c422d authored by Stefan Behnel's avatar Stefan Behnel

formatting

parent fdff86bf
...@@ -42,6 +42,7 @@ class BufferAux(object): ...@@ -42,6 +42,7 @@ class BufferAux(object):
def __repr__(self): def __repr__(self):
return "<BufferAux %r>" % self.__dict__ return "<BufferAux %r>" % self.__dict__
class Entry(object): class Entry(object):
# A symbol table entry in a Scope or ModuleNamespace. # A symbol table entry in a Scope or ModuleNamespace.
# #
...@@ -2005,7 +2006,8 @@ class CClassScope(ClassScope): ...@@ -2005,7 +2006,8 @@ class CClassScope(ClassScope):
entries = base_scope.inherited_var_entries + base_scope.var_entries entries = base_scope.inherited_var_entries + base_scope.var_entries
for base_entry in entries: for base_entry in entries:
entry = self.declare(base_entry.name, adapt(base_entry.cname), entry = self.declare(
base_entry.name, adapt(base_entry.cname),
base_entry.type, None, 'private') base_entry.type, None, 'private')
entry.is_variable = 1 entry.is_variable = 1
self.inherited_var_entries.append(entry) self.inherited_var_entries.append(entry)
......
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