summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-08-29 06:16:39 -0300
committerJasper St. Pierre <jstpierre@mecheye.net>2012-08-29 15:00:32 -0300
commit2081ad22888bb420b00d0799ca01ab2bff338d19 (patch)
treebd65dfad447a8182625a376bb01797cb0d295b35
parented2dc88016af67df0846a90de1386dc099fd71fe (diff)
downloadgobject-introspection-2081ad22888bb420b00d0799ca01ab2bff338d19.tar.gz
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
-rw-r--r--giscanner/ast.py2
1 files changed, 0 insertions, 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):