From 2081ad22888bb420b00d0799ca01ab2bff338d19 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 29 Aug 2012 06:16:39 -0300 Subject: ast: Remove what looks to be a copy/paste error A symbol isn't a ctype. None of the tests failed when I removed this, git blame wasn't very enlightening, and we don't remove this in the remove method, so I'm thinking it's an error. https://bugzilla.gnome.org/show_bug.cgi?id=682969 --- giscanner/ast.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/giscanner/ast.py b/giscanner/ast.py index 7fa75ed7..2e37db40 100644 --- a/giscanner/ast.py +++ b/giscanner/ast.py @@ -403,8 +403,6 @@ returned.""" self.names[node.name] = node if hasattr(node, 'ctype'): self.ctypes[node.ctype] = node - if hasattr(node, 'symbol'): - self.ctypes[node.symbol] = node def remove(self, node): if isinstance(node, Alias): -- cgit v1.2.1