diff options
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r-- | giscanner/ast.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py index e5c403e1..7076a845 100644 --- a/giscanner/ast.py +++ b/giscanner/ast.py @@ -415,6 +415,9 @@ but adds it to things like ctypes, symbols, and type_names. continue fn.namespace = self self.symbols[fn.symbol] = fn + for member in node.members: + member.namespace = self + self.symbols[member.symbol] = member if hasattr(node, 'ctype'): self.ctypes[node.ctype] = node |